From 82399cc9afd282e9fcd236938a1d76c76fdb355e Mon Sep 17 00:00:00 2001 From: Ned Zimmerman Date: Mon, 11 Mar 2024 15:35:12 -0300 Subject: [PATCH] ci: add Release Please action (#1742) --- .github/workflows/release-please.yml | 14 ++++++++++++++ .release-please-manifest.json | 3 +++ release-please-config.json | 14 ++++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 .github/workflows/release-please.yml create mode 100644 .release-please-manifest.json create mode 100644 release-please-config.json diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 000000000..30af20dc6 --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,14 @@ +name: Publish release + +on: + push: + branches: [dev] + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: google-github-actions/release-please-action@v4 + id: release + with: + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 000000000..8388fe105 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "2.8.0" +} diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 000000000..9996b1757 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,14 @@ +{ + "changelog-path": "CHANGELOG.md", + "release-type": "node", + "bump-minor-pre-major": false, + "bump-patch-for-minor-pre-major": false, + "draft": false, + "prerelease": false, + "packages": { + ".": { + "include-component-in-tag": false + } + }, + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" +}