semantics
semantics copied to clipboard
A utility written in Golang to automatically handle Semantic Versioning in a CI environment.
# Description This PR extends the glob used for finding the last semver tag, ignoring any pre-release or metadata tags as stated in Issue #10 . ## Important Information To...
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:.*"...