Description
Support an optional argument on current-version that enables clients of vergo to specify the increment strategy instead of always using minor.
|
pre, err := version.IncMinor().SetPrerelease("SNAPSHOT") |
Use-Cases
Provide properly versioned snapshot releases according to the change being made to the application.
We use this to provide versions of libraries that are built as part of a change request (PR) being submitted.
Axion
# XXX = Patch|Minor|Major
# and then some more, but we're only really interested in these three
gradle currentVersion -Prelease.versionIncrementer=incrementXXX
Notes
I already have the changes made to a local branch, but I do not seem to have the required permissions to push it to the remote.
Description
Support an optional argument on
current-versionthat enables clients of vergo to specify the increment strategy instead of always usingminor.vergo/release/release.go
Line 139 in 69533b6
Use-Cases
Provide properly versioned snapshot releases according to the change being made to the application.
We use this to provide versions of libraries that are built as part of a change request (PR) being submitted.
Axion
Notes
I already have the changes made to a local branch, but I do not seem to have the required permissions to push it to the remote.