Sample strategies that infer the build metadata component of a version.
Type | Name and description |
---|---|
static PartialSemVerStrategy |
COMMIT_ABBREVIATED_ID Set the build metadata to the abbreviated ID of the current HEAD. |
static PartialSemVerStrategy |
COMMIT_FULL_ID Set the build metadata to the full ID of the current HEAD. |
static PartialSemVerStrategy |
NONE Do not modify the build metadata. |
static PartialSemVerStrategy |
TIMESTAMP Set the build metadata to the current timestamp in YYYY.MM.DD.HH.MM.SS format. |
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() |
Set the build metadata to the abbreviated ID of the current HEAD.
Set the build metadata to the full ID of the current HEAD.
Do not modify the build metadata.
Set the build metadata to the current timestamp in YYYY.MM.DD.HH.MM.SS
format.