stianh / gradle-release-plugin

Gradle plugin for automated release management.
54 stars 14 forks source link

Add support for Linux version numbering #11

Closed mkotsbak closed 11 years ago

mkotsbak commented 13 years ago

That is:

If on master, "git describe" gives "v3.1.0-nn-xxxx", make version "v3.2.0". (maybe add an option to make version "v4.0.0" instead) If on branch "1.1" and "git describe" gives "v1.1.7-nn-xxxx", make version "v1.1.8"

stianh commented 13 years ago

A customizable version format has been suggested and should support linux version number. Thanks for creating the ticket.

stigkj commented 12 years ago

The latest release coming tomorrow has support for specifying a version number directly on the command line.

stigkj commented 12 years ago

That release also supports having your own version strategy, as shown in the README.

stigkj commented 11 years ago

Hopefully being able to create your own strategy is enough.