Skip to content

GitLab registry gives error when publishing on master-branch to latest tag #2116

Answered by travi
boy51 asked this question in Q&A
Discussion options

You must be logged in to vote

a clarification that i think is important here: you mentioned your understanding to be

Then, if I merge to master, it will publish the version to dist-tag latest.

instead of "publishing", the latest tag is added to the existing version in that case. it is the same version that was already available, but it is now promoted to the latest channel because of that tag. the following output highlights that detail:

[2:59:34 PM] [semantic-release] › ✔ Add default channel to tag v2.2.0
[2:59:34 PM] [semantic-release] › ℹ Start step "addChannel" of plugin "@semantic-release/npm"
[2:59:34 PM] [semantic-release] [@semantic-release/npm] › ℹ Adding version 2.2.0 to npm registry on dist-tag latest

@…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@boy51
Comment options

Answer selected by boy51
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants