Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Semver Pre-release not supported #10

Open
alexbeltran opened this issue Jun 11, 2019 · 0 comments
Open

BUG: Semver Pre-release not supported #10

alexbeltran opened this issue Jun 11, 2019 · 0 comments

Comments

@alexbeltran
Copy link

Does not support pre-release. https://semver.org/#spec-item-9

semantics --major="^(?i)major:.*" --minor="^(?i)minor:.*" --patch="^(?i)(patch|fix):.*" --output-tag

How to Reproduce:

> git tag -l --sort -version:refname
v0.21.2-prod
v0.21.2
v0.21.1
>  semantics --major="^(?i)major:.*" --minor="^(?i)minor:.*" --patch="^(?i)(patch|fix):.*"  --dry-run 
Tag section 2-prod is not a valid format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant