axion-release-plugin
axion-release-plugin copied to clipboard
Question about latest release (latest tag)
I have a simple requirement, and already use this plugin for releasing, so was curious if this plugin could handle it.
For smoke testing purposes I have with a Gradle project, I need to easily pull the latest release version number so I can run some integration tests and compare with the last release. I am guessing there is a method in here somewhere that I can use... but I haven't found it yet. I will keep looking, but if you know the answer, could you provide it?
Thank you.
Hi :) I don't think i understand the question, what do you mean by "easiily pill the latest release version"? What is the "last release"? Is all happening inside Gradle script and you want to access some methods from scmVersion
?
Hi :) I don't think i understand the question, what do you mean by "easiily pill the latest release version"? What is the "last release"? Is all happening inside Gradle script and you want to access some methods from
scmVersion
?
Sorry... I just want to get a String containing the most recent tag. Similar to git describe
but without all commit distance extras.
Currently there is no API that would get you exactly the tag, but scmVersion.getScmPosition
returns VersionScmPosition.