mirror of
https://github.com/semver/semver.git
synced 2026-03-11 00:12:22 -05:00
[Question] Can I use 1.2.3-beta-3 instead of 1.2.3-beta.3? #507
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @korn176 on GitHub (Oct 28, 2021).
I just want to know if it’s the same
@mkungla commented on GitHub (Oct 28, 2021):
isn't docs clear about it? https://semver.org/#spec-item-9
1.2.3-beta.3has 2 pre-release dot separated identifiersbetaand3which both can be comparedwhile
1.2.3-beta-3has 1 pre-release identifierbeta-3matching allowed regex[0-9A-Za-z-]I think questions should be posted to places like Stack Overflow tag:semantic-versioning than here as issue tracker
so conclusions are 1. these are not the same and 2. You can use 1.2.3-beta-3 instead of 1.2.3-beta.3 if it is format you prefer.
@korn176 commented on GitHub (Oct 28, 2021):
Thanks!