Skip to content

fix(release): skip already published npm versions#427

Merged
christso merged 1 commit into
mainfrom
fix/publish-existing-tag-skip
Jun 19, 2026
Merged

fix(release): skip already published npm versions#427
christso merged 1 commit into
mainfrom
fix/publish-existing-tag-skip

Conversation

@christso

Copy link
Copy Markdown
Contributor

Summary

  • add a workflow-level npm registry state check before invoking tag-local publish scripts
  • skip publish when the package version is already published and the requested dist-tag already points to it
  • fail clearly if an immutable published version has the wrong dist-tag instead of retrying npm publish

Testing

  • bun install --frozen-lockfile
  • bun run lint
  • bun run typecheck
  • pre-push hook: lint, typecheck, test
  • parsed workflow YAML with Python/PyYAML
  • executed the new npm state guard locally with NPM_TAG=next; verified allagents@1.12.0-next.1 is already published and next points to it

Post-merge validation

  • rerun Publish with channel=existing and ref=v1.12.0-next.1

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying allagents with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5d66db5
Status: ✅  Deploy successful!
Preview URL: https://e9111e58.allagents.pages.dev
Branch Preview URL: https://fix-publish-existing-tag-ski.allagents.pages.dev

View logs

@christso christso merged commit d55441b into main Jun 19, 2026
1 check passed
@christso christso deleted the fix/publish-existing-tag-skip branch June 19, 2026 00:07
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