Repository navigation
ci: Use craft's built-in version bumping - #5775
Merged
Merged
Conversation
Craft 3.0.0 bumps <VersionPrefix> in Directory.Build.props itself and fails prepare if no version gets bumped (getsentry/craft#923), so the custom bump-version script is no longer needed. Co-Authored-By: Burak Yigit Kaya <[email protected]>
Co-Authored-By: Burak Yigit Kaya <[email protected]>
BYK
approved these changes
Oct 22, 2026
Co-Authored-By: Burak Yigit Kaya <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5775 +/- ##
==========================================
- Coverage 76.13% 76.12% -0.02%
==========================================
Files 528 528
Lines 19579 19579
Branches 3829 3829
==========================================
- Hits 14906 14904 -2
- Misses 3791 3792 +1
- Partials 882 883 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Member
|
Craft v3 is out |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Craft's nuget target now bumps
<VersionPrefix>inDirectory.Build.propsitself, andcraft preparefails if no target bumps a version instead of releasing with a stale one (getsentry/craft#923, the follow-up to the 6.6.0 release where every package went out as 6.5.0). That makes ourpreReleaseCommandworkaround from #5261 unnecessary.This drops
preReleaseCommandand thescripts/bump-version.sh/.ps1it called, raisesminVersionto craft 3.0.0 so auto-bumping is guaranteed to include the fix, and moves the release workflow from the 2.34.1 SHA pin to thegetsentry/craft@v3floating tag.It also moves the deprecated top-level
changelogPolicy: autotochangelog.policy: auto, and addsversioning.policy: auto, so running the release workflow without a version lets craft pick the next version from the changes since the last release.#skip-changelog
via Junior system actor
event.--
View Junior Session [Sentry]