diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 00000000000..d8339bc8970 --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,18 @@ +name: Release Please + +on: + push: + branches: + - master + +permissions: + contents: write + pull-requests: write + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: googleapis/release-please-action@v4 + with: + config-file: .release-please-config.json \ No newline at end of file diff --git a/.release-please-config.json b/.release-please-config.json new file mode 100644 index 00000000000..8413aca5035 --- /dev/null +++ b/.release-please-config.json @@ -0,0 +1,27 @@ +{ + "release-type": "go", + "prerelease": true, + "prerelease-type": "prerelease", + "bump-minor-pre-major": true, + "bump-patch-for-minor-pre-major": true, + "include-component-in-tag": false, + "packages": { + ".": { + "package-name": "cadence", + "release-type": "go", + "bump-minor-pre-major": true, + "bump-patch-for-minor-pre-major": true, + "versioning": "prerelease", + "include-component-in-tag": false + } + }, + "changelog-sections": [ + {"type": "feat", "section": "Features"}, + {"type": "fix", "section": "Bug Fixes"}, + {"type": "revert", "section": "Reverts"}, + {"type": "test", "section": "Tests"}, + {"type": "ci", "section": "Continuous Integration and Build"}, + {"type": "perf", "section": "Performance Improvements"}, + {"type": "refactor", "section": "Refactors"} + ] +} diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 00000000000..c9bae4b1b7b --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "1.3.6-prerelease11" +}