Skip to content

fix(publish): update @next dist-tag on stable npm releases#4

Merged
jdutton merged 1 commit into
mainfrom
fix/publish-next-tag-update
Mar 26, 2026
Merged

fix(publish): update @next dist-tag on stable npm releases#4
jdutton merged 1 commit into
mainfrom
fix/publish-next-tag-update

Conversation

@jdutton

@jdutton jdutton commented Mar 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • publish-with-rollback.ts adds a Phase 2 that calls npm dist-tag add <pkg>@<version> next on all packages when UPDATE_NEXT=true, with rollback on failure
  • Previously @next was only set during RC publishes; after a stable release it stayed pinned to the last RC indefinitely
  • Set UPDATE_NEXT=true from your publish workflow via determine-publish-tags.ts to activate Phase 2 on stable releases

Test plan

  • CI passes on this PR
  • After merge, wire determine-publish-tags.ts into your publish.yml and verify @next updates on the next stable release

🤖 Generated with Claude Code

publish-with-rollback.ts now has a Phase 2 that runs npm dist-tag add
<pkg>@<version> next on all packages when UPDATE_NEXT=true (set by
your publish workflow via determine-publish-tags.ts). Previously @next
was only set during RC publishes; after a stable release it stayed
pinned to the last RC indefinitely.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Mar 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.54%. Comparing base (e1e1b3d) to head (c76e7f6).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main       #4   +/-   ##
=======================================
  Coverage   85.54%   85.54%           
=======================================
  Files           2        2           
  Lines          83       83           
  Branches       27       17   -10     
=======================================
  Hits           71       71           
  Misses         12       12           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jdutton jdutton merged commit e403b92 into main Mar 26, 2026
9 checks passed
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