Strategy for creating a Git tag associated with a release.
| Type | Name and description |
|---|---|
groovy.lang.Closure |
generateMessageClosure taking a ReleaseVersion as an argument and returning a string to be used as the tag's message. |
boolean |
prefixNameWithVWhether or not the version number should be prefixed with a "v" when the tag is named. |
| Type | Name and description |
|---|---|
java.lang.String |
maybeCreateTag(Grgit grgit, ReleaseVersion version)If the release version specifies a tag should be created, create a tag using the provided Grgit instance and this instance's state to
determine the tag name and message.
|
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Closure taking a ReleaseVersion as an argument and returning a string to be used as the tag's message.
Whether or not the version number should be prefixed with a "v" when the tag is named.
If the release version specifies a tag should be created, create a tag
using the provided Grgit instance and this instance's state to
determine the tag name and message.
null if it wasn'tversion - the version to create the tag for