Skip to content

Commit a8bad31

Browse files
committed
fix(ci): stop changesets from stamping [skip ci] on the version commit
`.changeset/config.json` had `"commit": true`, which changesets normalizes to `["@changesets/cli/commit", { skipCI: "version" }]`. That makes `changeset version` create the version commit itself, with `[skip ci]` in the message: RELEASING: Releasing 1 package(s) Releases: react-router-devtools@6.2.2 [skip ci] Two consequences: 1. The `commit: "chore: release"` message configured in the Release workflow was never used, because the action had nothing left to commit. 2. `[skip ci]` survived the merge of the Release PR onto main, so GitHub skipped every workflow on that push. The Release workflow -- the only thing that runs `changeset publish` -- never fired. Net effect: merging a Release PR bumped the version, wrote the CHANGELOG and consumed the changeset, but published nothing. This bit 6.2.2 (bumped in #263 on Jun 19, never reached npm; zero workflow runs recorded against that commit). It was latent before that only because an unrelated push to main happened soon after each release and picked up the publish by accident -- that is how 6.2.1 shipped. Setting `"commit": false` leaves the commit to changesets/action, which uses the workflow's `chore: release` message with no skip directive, so merging a Release PR triggers Release and publishes.
1 parent becd7c9 commit a8bad31

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.changeset/config.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://unpkg.com/@changesets/config@3.0.2/schema.json",
33
"changelog": "@changesets/cli/changelog",
4-
"commit": true,
4+
"commit": false,
55
"fixed": [],
66
"linked": [],
77
"access": "public",

0 commit comments

Comments
 (0)