Reckon is picking the wrong version number when there's an existing patch version with a 10 or greater in it.
My latest version is 1.4.17, so I would expect reckon to pick 1.4.18 for the next patch version but it's picking 1.4.2.
This issue may also apply to major and minor versions, I haven't tested that. Also if it's relevant, I migrated from the old release plugin to reckon and am now seeing this issue.
Since it's picking the wrong version, when I try to set the scope the build fails:
$ ./gradlew properties -q -Preckon.scope=patch -Preckon.stage=dev
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred evaluating root project 'my-project'.
> Reckoned target normal version 1.4.2 has already been released.
Turns out my master branch with the tags wasn't merged into the dev branch and I assumed the issue was with the tag ordering. At least opening the issue helped me realize it was user error :) Thanks!
Reckon is picking the wrong version number when there's an existing patch version with a 10 or greater in it.
My latest version is
1.4.17
, so I would expect reckon to pick1.4.18
for the next patch version but it's picking1.4.2
.This issue may also apply to major and minor versions, I haven't tested that. Also if it's relevant, I migrated from the old release plugin to reckon and am now seeing this issue.
My reckon configuration:
Gradle output (truncated):
Since it's picking the wrong version, when I try to set the scope the build fails:
My tags (truncated a bit):
Versions of things: Gradle 5.0-rc-3 Reckon 0.9.0 Java 8