Skip to content

Commit f1e2b21

Browse files
committed
Merge 1.16 into 1.18
2 parents d9e429b + fac9f6f commit f1e2b21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ allprojects {
4141
}
4242
def baseVersion = details.lastTag.substring(0, plusIndex)
4343
def dirtyMarker = grgit.status().clean ? "" : ".dirty"
44-
def commitHashMarker = details.commitDistance > 0 ? ("." + details.gitHash) : ""
44+
def commitHashMarker = details.commitDistance > 0 ? ("." + details.gitHash.substring(0, Math.min(4, details.gitHash.length()))) : ""
4545
def preMarker = (details.commitDistance > 0 || !details.isCleanTag) ? ("-beta." + details.commitDistance) : ""
4646
if(preMarker.length() > 0) {
4747
// bump to next patch release

0 commit comments

Comments
 (0)