-
Notifications
You must be signed in to change notification settings - Fork 511
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow
.
to prefix prerelease in loose mode
BREAKING CHANGE: prerelease tag requires a `-` if it doesn't start with a non-numeric value. If it does start with a non-numeric value the `-` is optional and a `.` can be used instead. This means that `1.2.34.5` is no longer a valid version in loose mode (previously it would split into `1.2.3-4.5` and `1.2.3.4` is invalid (previously it would split into `1.2.3-4`. Allowing 1.2.3.4 is confusing and weird. However, 1.2.3.beta should be allowed.
- Loading branch information
Showing
3 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters