Skip to content

ci: let release rehearsals pass on an already published version - #634

Merged
kevindb merged 1 commit into
mainfrom
fix-release-rehearsal
Nov 1, 2026
Merged

kevindb merged 1 commit into
mainfrom
fix-release-rehearsal

Conversation

@kevindb

@kevindb kevindb commented Nov 1, 2026

Copy link
Copy Markdown
Member

The first manual rehearsal of the release workflow on main failed at its last step: run 41269166106. npm 11's npm publish --dry-run asks the registry, which refuses a version that is already published ("You cannot publish over the previously published versions: 4.3.0"). So every rehearsal from a branch would fail, though the real tag would pass.

  • The tarball step now runs npm pack --dry-run. It lists the same files without contacting the registry.
  • On tag runs, the version check also fails if that version is already on npm. A re-tagged published version then stops before anyone is asked to approve the publish.

Rehearsed on this branch: run 41269331940. verify passed with the 8-file tarball, and publish was skipped.

🤖 Generated with Claude Code

Tag runs check that the version is not already on npm.
@kevindb
kevindb merged commit d1ab5ff into main Nov 1, 2026
9 checks passed
@kevindb
kevindb deleted the fix-release-rehearsal branch November 1, 2026 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant