Skip to content

Version names instead of full number #28

@cleankod

Description

@cleankod

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions