We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81ebcc8 commit fac9f6fCopy full SHA for fac9f6f
build.gradle
@@ -41,7 +41,7 @@ allprojects {
41
}
42
def baseVersion = details.lastTag.substring(0, plusIndex)
43
def dirtyMarker = grgit.status().clean ? "" : ".dirty"
44
- def commitHashMarker = details.commitDistance > 0 ? ("." + details.gitHash) : ""
+ def commitHashMarker = details.commitDistance > 0 ? ("." + details.gitHash.substring(0, Math.min(4, details.gitHash.length()))) : ""
45
def preMarker = (details.commitDistance > 0 || !details.isCleanTag) ? ("-beta." + details.commitDistance) : ""
46
if(preMarker.length() > 0) {
47
// bump to next patch release
0 commit comments