gradle-release-plugin icon indicating copy to clipboard operation
gradle-release-plugin copied to clipboard

Version names instead of full number

Open cleankod opened this issue 8 years ago • 1 comments

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:

gradle release -Pmajor

Would cause the 1.2.1 version to be bumped to 2.0.0. And the following:

gradle release -Pminor

Would cause the 1.2.1 to be bumped to 1.3.0.

This would be only applicable of course to version format of:

major.minor.build

cleankod avatar Mar 01 '16 15:03 cleankod

That's a neat idea. However at the moment, I'm not doing any work on this plugin, and am unlikely to in the near future.

You'd have to figure how to handle 1.3.0b1 and other complicated versions.

ari avatar Mar 01 '16 22:03 ari