Open danshinton opened 2 weeks ago
To add some more information:
If I remove 1.6.0
, it correctly says 1.6.0-SNAPSHOT
and creates a 1.6.0
release. If I remove everything but the following:
1.6.0
1.6.0-SNAPSHOT
1.7.0-SNAPSHOT
It's broke again. If I add 1.7.0
and 1.8.0-SNAPSHOT
, it claims the current version is 1.7.0
. So I'm not sure why the behavior of the plugin changes once you get to 1.7.0-SNAPSHOT
.
Hi, we will look into it. @radoslaw-panuszewski I think its do the tags filtering, we need to update the filter
@danshinton In the example you provided, do you have any commits after 1.6.0? Maybe your tags are on the same commit? It would be perfect if you would prepare a repository that shows the issue.
So when I created this ticket, if I create a repo and just called release -Prelease.disableChecks -Prelease.pushTagsOnly
and markNextVersion
over and over, it worked until 1.6.0 is released. I would use git fetch --prune --prune-tags
to reset my local repo to test again.
This morning, it is working for some reason. So there must be some transient condition which is not triggering now.
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?