otakup0pe / avakas

Tooling to assist with Semantic Version Manipulation and Representation
http://ohno.computer/post/144362045508/a-codified-opinion-on-semantic-versioning
MIT License
2 stars 5 forks source link

Support specifying prerelease and prerelease prefix in hints #79

Open tyler-jachetta opened 3 years ago

tyler-jachetta commented 3 years ago

Suggested behavior: When bump hint is found, and --prerelease is specified check for latest prerelease-prefix: bump hint (ignoring any hints before the current bump hint)

otakup0pe commented 3 years ago

Hmm. This would result in only the prerelease being bumped?

tyler-jachetta commented 3 years ago

not what I was thinking, just that if there is a --prerelease, then the hinted prefix will be used. I'm not sure how we'd want to make that play with the command line value (which takes precidence), my gut feeling is always use --prerelase-prefix, then prefer the hint, then maybe have a --default-prerelease-prefix option to do the default

otakup0pe commented 3 years ago

OH! I completely misread. Yeah I'm down for this, it's the sort of thing that allows for more flexible adoptions.