From b8068895d89bc471b33df1a06484bb68bbc80bfb Mon Sep 17 00:00:00 2001 From: Chris Warren <16132615+c-warren@users.noreply.github.com> Date: Fri, 26 Sep 2025 14:27:14 -0700 Subject: [PATCH 1/2] ci: Use release-please for release creation --- .github/workflows/release-please.yml | 18 ++++++++++++++++++ .release-please-config.json | 28 ++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 .github/workflows/release-please.yml 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 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..e430c71ae80 --- /dev/null +++ b/.release-please-config.json @@ -0,0 +1,28 @@ +{ + "release-type": "go", + "prerelease": true, + "prerelease-type": "rc", + "bump-minor-pre-major": true, + "bump-patch-for-minor-pre-major": true, + "packages": { + ".": { + "package-name": "cadence", + "release-type": "go", + "bump-minor-pre-major": true, + "bump-patch-for-minor-pre-major": true, + "versioning": "default" + } + }, + "changelog-sections": [ + {"type": "feat", "section": "Features"}, + {"type": "fix", "section": "Bug Fixes"}, + {"type": "perf", "section": "Performance Improvements"}, + {"type": "revert", "section": "Reverts"}, + {"type": "docs", "section": "Documentation"}, + {"type": "style", "section": "Styles"}, + {"type": "refactor", "section": "Code Refactoring"}, + {"type": "test", "section": "Tests"}, + {"type": "build", "section": "Build System"}, + {"type": "ci", "section": "Continuous Integration"} + ] +} \ No newline at end of file From e3dbe5f934a5ded7fb703ff4d6fec50191637066 Mon Sep 17 00:00:00 2001 From: Chris Warren <16132615+c-warren@users.noreply.github.com> Date: Tue, 30 Sep 2025 12:44:47 -0700 Subject: [PATCH 2/2] Update configuration to conform to existing release tag tagging system --- .release-please-config.json | 17 ++++++++--------- .release-please-manifest.json | 3 +++ 2 files changed, 11 insertions(+), 9 deletions(-) create mode 100644 .release-please-manifest.json diff --git a/.release-please-config.json b/.release-please-config.json index e430c71ae80..8413aca5035 100644 --- a/.release-please-config.json +++ b/.release-please-config.json @@ -1,28 +1,27 @@ { "release-type": "go", "prerelease": true, - "prerelease-type": "rc", + "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": "default" + "versioning": "prerelease", + "include-component-in-tag": false } }, "changelog-sections": [ {"type": "feat", "section": "Features"}, {"type": "fix", "section": "Bug Fixes"}, - {"type": "perf", "section": "Performance Improvements"}, {"type": "revert", "section": "Reverts"}, - {"type": "docs", "section": "Documentation"}, - {"type": "style", "section": "Styles"}, - {"type": "refactor", "section": "Code Refactoring"}, {"type": "test", "section": "Tests"}, - {"type": "build", "section": "Build System"}, - {"type": "ci", "section": "Continuous Integration"} + {"type": "ci", "section": "Continuous Integration and Build"}, + {"type": "perf", "section": "Performance Improvements"}, + {"type": "refactor", "section": "Refactors"} ] -} \ No newline at end of file +} 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" +}