semantics
semantics copied to clipboard
Exclude metadata/prerelease tags.
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 test, tag locally a metadata tag
e.g.) git tag v2.0.4-prod and run the command. git describe --tags --abbrev=0 --match="v[0-9]*\\.[0-9]*\\.[0-9]*" --exclude="v[0-9]*\\.[0-9]*\\.[0-9]*-*"
Versioning
This PR will bump the version by one fix level.
I've done the steps below, and they work properly:
- [ ] Update/Add Tests
- [X] Manual sanity checking
Reviewers...
### I confirm that:
- [ ] PR addresses intended issue, with smallest scope possible
- [ ] Code is of acceptable quality
- [ ] Code is properly tested (quantity and quality)
- [ ] Bumping **minor** level is appropriate