Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
VERSION_NUMBER = '1.1.0-SNAPSHOT'
NEXT_VERSION = '1.2.0'
seems to mean I am currently developing the 1.1.0 version, and when I'm done, I will tag this as a 1.1.0 release and start working on
the 1.2.0. Yet, when I call the release task, I get a tag called '1.2.0', not '1.1.0'.
Alex Boisvert suggests an improvement.
<quote>
I would prefer to have:
VERSION_NUMBER = '1.1.0-SNAPSHOT'
- No more NEXT_VERSION
and do a release, the tag would be 1.1.0, released artifacts would be 1.1.0
and after the release the new versions would be:
VERSION_NUMBER = '1.1.1-SNAPSHOT'
and if you want to change the next version number, edit the file and commit.
</quote>