Skip to content

Commit da71405

Browse files
Prepend 0.0.0 to build version
1 parent 08559ba commit da71405

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def getDevelopmentVersion() {
2020
println "git hash is empty: error: ${error.toString()}"
2121
throw new IllegalStateException("git hash could not be determined")
2222
}
23-
def version = new SimpleDateFormat('yyyy-MM-dd\'T\'HH-mm-ss').format(new Date()) + "-" + gitHash
23+
def version = "0.0.0-" + new SimpleDateFormat('yyyy-MM-dd\'T\'HH-mm-ss').format(new Date()) + "-" + gitHash
2424
println "created development version: $version"
2525
version
2626
}

0 commit comments

Comments
 (0)