Skip to content

Add new_latest parameter to unpublish workflow - #104

Merged
ranyitz merged 1 commit into
mainfrom
fix/unpublish-workflow-order
Jan 26, 2026
Merged

Add new_latest parameter to unpublish workflow#104
ranyitz merged 1 commit into
mainfrom
fix/unpublish-workflow-order

Conversation

@ranyitz

@ranyitz ranyitz commented Jan 26, 2026

Copy link
Copy Markdown
Owner

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.

1 participant