axion-release-plugin
axion-release-plugin copied to clipboard
Allow defining suffix to exclude certain tags during version creation
Kind of the same issue I'm experiencing on #162 but instead of a <major>.<minor>.<patch>-beta, I have a <major>.<minor>.<patch>-rc.<build number> in place.
When I run ./gradlew cV one or more commits after this rc tag, it increments one of the 3 semver digits which is not what we want. It should continue using the current digits until it encounters a non pre-release tag. (For example, keep on churning 1.0.0-rc#s until one of the release candidates gets published and generates a 1.0.0, then generate 1.1.0-rc#s after encountering the stable tag)
So that got me thinking, what if we can define a tag suffix exclusion to prevent the pre-release tags from getting involved in version creation and still keep the original 3 digits prior to an introduction of a stable release tag in the commit line?