question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

semver fails when it comes to pre-releases

See original GitHub issue

Steps to reproduce

  1. Change the version in package.json from 1.7.44 to something like 1.7.44-build1
  2. npm run metadata:generate
  3. npm run test

Google’s demo link

N/A

See also: https://github.com/substack/semver-compare/issues/1 .

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

Resetting of pre-release and build versions... #60 - GitHub
Suppose SemVer did state you must reset the pre-release version when incrementing a version. How could that make sense? Suppose you release 1.0....
Read more >
Node app fails to run because of prerelease - Stack Overflow
The change in handling prerelease versions in semver@4 is one of the primary motivators for the major version bump to npm@2.
Read more >
semver - npm Docs
Identifier to be used to prefix premajor, preminor,. prepatch or prerelease version increments. -l --loose. Interpret versions and ranges ...
Read more >
Prerelease in semver - Rust - Docs.rs
The SemVer spec's rule for pre-release precedence has special treatment of numeric components in the pre-release string, but only if there are no...
Read more >
Semantic Versioning 2.0.0 | Semantic Versioning
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format. Introduction. In the world of software ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found