semantics icon indicating copy to clipboard operation
semantics copied to clipboard

Exclude metadata/prerelease tags.

Open alexbeltran opened this issue 6 years ago • 0 comments

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

alexbeltran avatar Jun 11 '19 16:06 alexbeltran