Skip to content

chore: realign version to 1.0.0 (next release publishes 1.0.1)#14

Merged
baransu merged 1 commit into
mainfrom
baransu/ci-job-failure
Jun 2, 2026
Merged

chore: realign version to 1.0.0 (next release publishes 1.0.1)#14
baransu merged 1 commit into
mainfrom
baransu/ci-job-failure

Conversation

@baransu
Copy link
Copy Markdown
Contributor

@baransu baransu commented Jun 2, 2026

Why

The npm @jam.dev/sdk package has a stranded 1.0.0 (published 2025-04-11) sitting above the active 0.0.x line. npm refuses to implicitly move the latest dist-tag backward from 1.0.0 to any 0.0.x version, which is why the last publish failed:

npm error Cannot implicitly apply the "latest" tag because previously published version 1.0.0 is higher than the new version 0.0.7

What

Set the version to 1.0.0. On merge, the release-patch label drives npm version patch1.0.1, which is higher than the stranded 1.0.0 and therefore cleanly takes latest — no --tag workaround needed.

On merge this will

  1. Bump main to 1.0.1, push the commit + tag v1.0.1 (the release bot now bypasses the new branch ruleset)
  2. Create GitHub Release v1.0.1
  3. npm publish 1.0.1 → becomes latest

Orphan v0.0.7 tag + GitHub Release (from the prior failed publish, never on npm) have been cleaned up.

The 0.0.x line published to npm sits below a stranded 1.0.0 (published
2025), so npm refuses to implicitly move the 'latest' tag forward to a
0.0.x release. Reset the version to 1.0.0 so a release-patch bump
produces 1.0.1, which cleanly supersedes 1.0.0 and takes 'latest'.
@baransu baransu added the release-patch A PR that contains this label will, upon merge, trigger a patch release label Jun 2, 2026
@baransu baransu merged commit 90165dd into main Jun 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-patch A PR that contains this label will, upon merge, trigger a patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants