If, for some reason you need to postprocess the final version, do it with a closure taking a string and returning a string.
| Type | Name and description |
|---|---|
static java.lang.Object |
DEFAULTDefault is NOP |
static java.lang.Object |
STRIP_NR_COMMITS_AND_GWhen a long version is returned (i.e HEAD is not on a tag), strips the number of commits and the git abbreviation in the described version. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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() |