Currently, the only way to override automatic version number guessing is to issue the following :
gradle release -PreleaseVersion=2.0.0-SNAPSHOT
It would be nice though, to pass just an alias of the version to bump (minor, major), for example:
Would cause the 1.2.1 version to be bumped to 2.0.0. And the following:
Would cause the 1.2.1 to be bumped to 1.3.0.
This would be only applicable of course to version format of:
Currently, the only way to override automatic version number guessing is to issue the following :
It would be nice though, to pass just an alias of the version to bump (
minor,major), for example:Would cause the
1.2.1version to be bumped to2.0.0. And the following:Would cause the
1.2.1to be bumped to1.3.0.This would be only applicable of course to version format of: