Skip to content

ci: publish 0.x prereleases to the latest dist-tag - #13

Merged
mfazekas merged 1 commit into
mainfrom
ci/publish-0x-prerelease-latest
Oct 26, 2026
Merged

mfazekas merged 1 commit into
mainfrom
ci/publish-0x-prerelease-latest

Conversation

@mfazekas

Copy link
Copy Markdown
Contributor

While the version is 0.x, every release, including GitHub prereleases, is published with --tag latest; from 1.0 on, prereleases go to next as before. Otherwise latest stays at 0.1.0-alpha.0 and a plain npm install gets the oldest alpha. The tag is chosen at publish time because trusted publishing (OIDC) only covers npm publish; npm dist-tag add would need a separate npm token.

@mfazekas mfazekas mentioned this pull request Oct 25, 2026
@mfazekas
mfazekas merged commit 9fe911d into main Oct 26, 2026
6 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