Repository navigation
meta: Use Craft's built-in post-release version bump - #4605
Conversation
Craft 3.7.0 can bump to the next development version after a release (postReleaseBump), so the hand-written post-release script is no longer needed. Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
Coverage Results 📊✅ 22 passed | Total: 22 | Pass Rate: 100% | Execution Time: 10m 46s 📊 Comparison with Base Branch
✨ Test counts unchanged from base. All tests are passing successfully. ✅ Patch coverage is 100.00% (no changed executable lines found; target 50%). Coverage diff@@ Coverage Diff @@
## master #4605 +/-##
==========================================
Coverage 95.58% 95.58% —%
==========================================
Files 5 5 —
Tracked lines 339 339 —
Branches 0 0 —
==========================================
Hits 324 324 —
Misses 15 15 —
Partials 0 0 —Generated by Coverage Action |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 57b6be6. Configure here.
| preReleaseCommand: bash scripts/bump-version.sh | ||
| postReleaseCommand: bash scripts/post-release.sh | ||
| postReleaseBump: | ||
| version: nightly |
There was a problem hiding this comment.
Invalid Craft post-release configuration
High Severity
postReleaseBump and minVersion 3.7.0 replace the working postReleaseCommand plus scripts/post-release.sh, but published Craft (3.6.0 via getsentry/craft@v3 and getsentry/craft:latest) only supports postReleaseCommand. Prepare or publish can fail, or master can stay on the released image tags instead of nightly.
Reviewed by Cursor Bugbot for commit 57b6be6. Configure here.


Craft 3.7.0 can set
masterback to a development version after a release (postReleaseBump). This replacesscripts/post-release.shwithpostReleaseBump: { version: nightly }.bash scripts/bump-version.shwithCRAFT_NEW_VERSION=nightly, the same thing the script did, then commits and pushes. This is a release-tooling change; operators aren't affected.build: Set master version to nightlyto Craft'smeta: Bump new development version(still#skip-changelog).minVersiongoes to3.7.0.prepareusesgetsentry/craft@v3(now 3.7.0), andpublishrunsgetsentry/craft:latest.bump-version.shcomment no longer mention the deleted script.I checked the config against Craft 3.7.0's schema; it resolves the dev version to
nightly. I didn't run the install or unit tests, since the change doesn't touch install paths.This is a draft because this repo's AGENTS.md asks the person opening a PR to write its description themselves.
via @BYK.
--
View Session in Sentry