-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CurrentVersion is returning old version #846
Comments
To add some more information: If I remove
It's broke again. If I add |
Hi, we will look into it. |
@danshinton In the example you provided, do you have any commits after 1.6.0? |
So when I created this ticket, if I create a repo and just called This morning, it is working for some reason. So there must be some transient condition which is not triggering now. |
@danshinton Do you configure the axion-release plugin in the root dir of your project? The plugin uses the current location as a root to check for git changes in the last commits after the tag. If no changes are found, it uses the last release version instead of a snapshot. |
The plugin was working just fine until this release. Now it returning the wrong version. Here is the output of
git tag
:When executing
gradle currentVersion
I would expect it to return1.7.0-SNAPSHOT
. Instead it returns:This means when trying to do a release it says:
Relevant Gradle config:
How can I go about troubleshooting this?
The text was updated successfully, but these errors were encountered: