Skip to content

meta(cli): Use Craft's built-in post-release version bump - #1796

Merged
BYK merged 1 commit into
mainfrom
meta/use-post-release-bump
Nov 2, 2026
Merged

BYK merged 1 commit into
mainfrom
meta/use-post-release-bump

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Craft 3.7.0 can set the next development version itself after a release (postReleaseBump). This replaces bump-version.ts --post for the packages/cli workspace.

  • postReleaseBump: true gives the same version as npm version preminor --preid=dev (0.48.0 → 0.49.0-dev.0). Craft writes it with the existing --pre command, then commits meta: Bump new development version with #skip-changelog, pulls, and pushes.
  • Now that --pre writes the dev version, it also syncs the tracked skill frontmatter (Keep generated CLI skill versions in sync after releases #1415 added that to --post only). As a result, release commits now also set the skill files to the release version. Before, they kept the dev version.
  • The --post mode and its git handling are removed. The regression test now covers --pre.
  • minVersion goes to 3.7.0. prepare uses getsentry/craft@v3, which is 3.7.0 now.

I checked the resolved config against Craft 3.7.0's schema. The bump-version test passes, I ran the script on the real tree (47 files updated), and oxlint/oxfmt are clean.

via @BYK.

--

View Session in Sentry

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>
@vercel

vercel Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sentry-local Ready Ready Preview Nov 2, 2026 12:09pm UTC

Request Review

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit aa81e86. Configure here.

Comment thread .craft.yml Resolved
@BYK
BYK enabled auto-merge (squash) November 2, 2026 12:21
@BYK
BYK merged commit 98f9243 into main Nov 2, 2026
36 checks passed
@BYK
BYK deleted the meta/use-post-release-bump branch November 2, 2026 12:24

This branch was successfully deployed

1 active deployment
Preview — aa81e86b Deployed Nov 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant