Repository navigation
ci(release): Bump craft to 3.9.0 and update config - #599
Open
sentry-junior[bot] wants to merge 2 commits into
Open
sentry-junior[bot] wants to merge 2 commits into
sentry-junior[bot] wants to merge 2 commits into
Conversation
Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
sentry-junior
Bot
requested review from
0xadam-brown and
runningcode
and removed request for
a team
November 3, 2026 21:02
Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
This branch has not been deployed
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.
📜 Description
This bumps the release workflow's pinned
getsentry/craftaction from 2.23.2 (d6302019, labeled# v2) to 3.9.0 (2e29b081).💡 Motivation and Context
craft's "Check release blockers" step used to ask GitHub to cancel the run and then exit 0, so the action kept going and could still prepare a release and open a getsentry/publish issue while a
release-blockerissue was open (seen in getsentry/symbolic). getsentry/craft#956 fixed this in 3.9.0: the step now fails right away, and it also fails if the blocker lookup errors.There are no open
release-blockerissues in this repo right now. Once this lands, any open one stops releases until it's closed orforceis set.💚 How did you test it?
Checked the craft 3.0 breaking changes against this repo:
version,force) are unchanged in 3.9.0; releases between only added optional inputs..craft.ymldoesn't setchangelog.includePaths/unownedPaths, and there's no nuget target.minVersionis 1.2.1, so craft keeps running the defaultscripts/bump-version.shinstead of the new automatic bumping.I also ran the craft 3.9.0 binary with
prepare 99.0.0 --dry-run --no-pushon currentmain. It ranscripts/bump-version.sh, bumped bothgradle.propertiesfiles, and finished without errors. It does warn thatchangelogPolicyis deprecated in favor ofchangelog.policy, but it still accepts it.No changelog entry, since this is CI-only.
Config changes (follow-up commit, so
.craft.ymlmatches craft 3.9.0):Sets
minVersionfrom 1.2.1 to 3.9.0. Under the old minVersion, craft defaulted to runningscripts/bump-version.shand to themanualversioning policy. At 3.9.0 those defaults become automatic target bumping andauto, so this also addspreReleaseCommand: bash scripts/bump-version.shandversioning.policy: manualto keep releases working the same way. This also replaces the deprecated top-levelchangelogPolicy: autowithchangelog.policy: auto.I ran craft 3.9.0
prepare 99.0.0 --dry-run --no-pushbefore and after this change on a full clone. Both runs bumped the samegradle.propertiesfiles, and thechangelogPolicydeprecation warning is gone.via @BYK.
--
View Session in Sentry