Skip to content

Conversation

@ranyitz
Copy link
Owner

@ranyitz ranyitz commented Jan 26, 2026

Summary

  • Add optional new_latest parameter to set a new latest tag before unpublishing
  • Set the latest tag before unpublishing (so the version still exists when tagging)

Why

When unpublishing the current latest version, npm doesn't automatically reassign the tag. This allows setting a new latest in the same workflow run.

@ranyitz ranyitz merged commit 8bc5b37 into main Jan 26, 2026
1 of 4 checks passed
@ranyitz ranyitz deleted the fix/unpublish-workflow-order branch January 26, 2026 21: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.

2 participants