Skip to content

npm error Tag name must not be a valid SemVer range: 1.5.0-pc.7 #224

Answered by mcous
m1212e asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @m1212e, it sounds like you're confusing the concept of the released version with npm's concept of distribution tags. The limitation that "distribution tags cannot match semver versions" comes from npm itself, not from this library.

You should only use the tag argument if you'd like to release a given version (e.g. "version": "1.5.0-pc.7") on a "distribution tag" other than the default tag of latest. What are the contents of your GitHub Workflow file?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@m1212e
Comment options

@m1212e
Comment options

Answer selected by m1212e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants