axion-release-plugin icon indicating copy to clipboard operation
axion-release-plugin copied to clipboard

Allow defining suffix to exclude certain tags during version creation

Open dafelipe130 opened this issue 8 years ago • 0 comments
trafficstars

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?

dafelipe130 avatar Apr 24 '17 20:04 dafelipe130