Skip to content

Commit fa7d259

Browse files
committed
Prepend 0.0.0 so master builds do not appear first on Maven when sorted in descending order
1 parent babda5f commit fa7d259

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
@@ -22,7 +22,7 @@ def getDevelopmentVersion() {
2222
println "git hash is empty: error: ${error.toString()}"
2323
throw new IllegalStateException("git hash could not be determined")
2424
}
25-
new SimpleDateFormat('yyyy-MM-dd\'T\'HH-mm-ss').format(new Date()) + "-" + gitHash
25+
"0.0.0-" + new SimpleDateFormat('yyyy-MM-dd\'T\'HH-mm-ss').format(new Date()) + "-" + gitHash
2626
}
2727

2828

0 commit comments

Comments
 (0)