Skip to content

ci: Use craft's built-in version bumping - #5775

Merged
jamescrosswell merged 3 commits into
mainfrom
ci/craft-auto-version-bump
Oct 22, 2026
Merged

jamescrosswell merged 3 commits into
mainfrom
ci/craft-auto-version-bump

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Craft's nuget target now bumps <VersionPrefix> in Directory.Build.props itself, and craft prepare fails 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 our preReleaseCommand workaround from #5261 unnecessary.

This drops preReleaseCommand and the scripts/bump-version.sh/.ps1 it called, raises minVersion to 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 the getsentry/craft@v3 floating tag.

It also moves the deprecated top-level changelogPolicy: auto to changelog.policy: auto, and adds versioning.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]

sentry-junior Bot and others added 2 commits October 22, 2026 13:46
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]>
Comment thread .github/workflows/release.yml Resolved
@BYK
BYK marked this pull request as ready for review October 22, 2026 14:08
@github-actions github-actions Bot added the risk: high PR risk score: high label Oct 22, 2026
@codecov

codecov Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.12%. Comparing base (bd407cf) to head (1df494c).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@BYK

BYK commented Oct 22, 2026

Copy link
Copy Markdown
Member

Craft v3 is out

@jamescrosswell jamescrosswell left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @BYK !

@jamescrosswell
jamescrosswell merged commit 916d3d4 into main Oct 22, 2026
@jamescrosswell
jamescrosswell deleted the ci/craft-auto-version-bump branch October 22, 2026 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants