From 004c58d1c6d322f33f6471fabba7d75eae05c2a5 Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Sun, 1 Nov 2026 19:10:42 +0000 Subject: [PATCH 1/2] meta: Use built-in postReleaseBump for the development version Replace the postReleaseCommand that ran npm version preminor --preid=dev and committed/pushed by hand with postReleaseBump, and raise minVersion so an older Craft fails loudly instead of silently skipping the bump. Depends on #950 shipping in 3.7.0. Co-Authored-By: BYK <126780+BYK@users.noreply.github.com> --- .craft.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.craft.yml b/.craft.yml index a3d029bc2..9911e53a9 100644 --- a/.craft.yml +++ b/.craft.yml @@ -1,4 +1,4 @@ -minVersion: '2.14.0' +minVersion: '3.7.0' changelog: policy: auto aiSummary: @@ -20,11 +20,9 @@ preReleaseCommand: >- const {execSync} = require('child_process'); execSync('npm --no-git-tag-version version ' + process.env.CRAFT_NEW_VERSION).toString(); " -postReleaseCommand: >- - node -p " - const {execSync} = require('child_process'); - execSync('npm --no-git-tag-version version preminor --preid=dev'); - execSync('git diff --quiet || git commit -anm \'meta: Bump new development version\\n\\n#skip-changelog\' && git pull --rebase && git push').toString();" +postReleaseBump: + bump: preminor + preid: dev requireNames: - /^sentry-craft.*\.tgz$/ - /^craft$/ From a58920a6df8cc3c2c4cf1fbb656eccdb18f9612e Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Sun, 1 Nov 2026 19:22:30 +0000 Subject: [PATCH 2/2] meta: Use postReleaseBump: true Co-Authored-By: BYK <126780+BYK@users.noreply.github.com> --- .craft.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.craft.yml b/.craft.yml index 9911e53a9..5f94e7262 100644 --- a/.craft.yml +++ b/.craft.yml @@ -20,9 +20,7 @@ preReleaseCommand: >- const {execSync} = require('child_process'); execSync('npm --no-git-tag-version version ' + process.env.CRAFT_NEW_VERSION).toString(); " -postReleaseBump: - bump: preminor - preid: dev +postReleaseBump: true requireNames: - /^sentry-craft.*\.tgz$/ - /^craft$/