Skip to content

release: allow same-version npm publish so 26.5 ships#781

Merged
danieljohnmorris merged 2 commits into
mainfrom
fix/release-npm-allow-same-version
May 24, 2026
Merged

release: allow same-version npm publish so 26.5 ships#781
danieljohnmorris merged 2 commits into
mainfrom
fix/release-npm-allow-same-version

Conversation

@danieljohnmorris
Copy link
Copy Markdown
Collaborator

Why

The v26.5 release reached GitHub and crates.io, but npm + pi never published (npm registry is still on 0.12.0). Both publish-npm and publish-pi failed at the same step:

npm error Version not changed

npm/package.json and pi/package.json are already at 26.5.0 in the repo, so npm version 26.5.0 aborts before the publish step runs.

Fix

Add --allow-same-version to both npm version steps so they no-op when the package is already at the target version instead of failing.

Test plan

  • Re-cut v26.5 after merge; publish-npm and publish-pi go green and 26.5.0 lands on npm.

Context

Separate from the gitleaks/secret-scan question (that moves to a local pre-push hook; release CI keeps it dropped per ILO-502).

publish-npm and publish-pi both run `npm version <semver>` against
package.json files that are already bumped to the release version. npm
aborts with "Version not changed" before publishing, so v26.5 reached
GitHub + crates but never npm (registry still on 0.12.0). Add
--allow-same-version to make the step a no-op when already aligned.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@danieljohnmorris danieljohnmorris merged commit 949ea16 into main May 24, 2026
10 checks passed
@danieljohnmorris danieljohnmorris deleted the fix/release-npm-allow-same-version branch May 24, 2026 23:47
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