Open tyler-jachetta opened 3 years ago
Hmm. This would result in only the prerelease being bumped?
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
OH! I completely misread. Yeah I'm down for this, it's the sort of thing that allows for more flexible adoptions.
Suggested behavior: When bump hint is found, and
--prerelease
is specified check for latestprerelease-prefix:
bump hint (ignoring any hints before the current bump hint)