diff --git a/.changeset/config.json b/.changeset/config.json index fdcd0b973..277f57074 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -7,7 +7,8 @@ } ], "commit": false, - "linked": [["@0xsequence/*"]], + "fixed": [["@0xsequence/*", "0xsequence"]], + "linked": [], "access": "public", "baseBranch": "v2", "ignore": [], diff --git a/.changeset/fixed-v2-versions.md b/.changeset/fixed-v2-versions.md new file mode 100644 index 000000000..af169ffea --- /dev/null +++ b/.changeset/fixed-v2-versions.md @@ -0,0 +1,5 @@ +--- +'@0xsequence/core': patch +--- + +Release all v2 packages at one fixed version so the embedded VERSION matches the release diff --git a/PUBLISHING.md b/PUBLISHING.md index 452a642a8..2eafab2f3 100644 --- a/PUBLISHING.md +++ b/PUBLISHING.md @@ -14,7 +14,9 @@ approval steps, failure recovery, and one-time setup. The differences on this br - **Release gates:** build (which includes typecheck), lint, and the release script tests, run before the release bot token is minted. The per-package test matrix in `tests.yml` already runs on every push to `v2`, including the release PR merge. -- **Linked versions:** all `@0xsequence/*` packages are `linked`, so a release stages every package at one version. +- **Fixed versions:** all `@0xsequence/*` packages and `0xsequence` are `fixed`, so any non-empty changeset bumps + every package and a release stages them all at one version (the one `update-version` embeds from + `@0xsequence/core`). Empty changesets bump nothing, so they cannot realign versions on their own. ## Day-to-day: add a changeset @@ -23,4 +25,5 @@ pnpm changeset ``` The `Changeset check` CI job fails a PR into `v2` that touches a package without one -(`pnpm changeset add --empty` for changes with no consumer impact). +(`pnpm changeset add --empty` for changes with no consumer impact; an empty changeset satisfies the check but +releases no packages).