mathieudutour / github-tag-action

A Github Action to automatically bump and tag master, on merge, with the latest SemVer formatted version. Works on any platform.
https://github.com/marketplace/actions/github-tag
MIT License
624 stars 195 forks source link

Feature/#145 default_draft_bump #177

Open lazyBisa opened 1 year ago

lazyBisa commented 1 year ago

even though the default_bump would increment a version 1.2.3 to 1.3.0, doing a prerelease for that version creates a 1.2.4-RC.0 instead of 1.3.0-RC.0. Since changing this behavior would be a breaking change, I introduced a default_draft_bump input to explicitly specify what default version increment should happen when a prerelease version is drafted on top of a non-prerelease version. (see example in testcases)

fixes #145

lazyBisa commented 1 year ago

@davidolrik @sebbacon @jimrazmus @duality72 anyone up to do a review on this? Fixes a quite unpleasant bug.