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 4b8531a commit 1c1d6a0Copy full SHA for 1c1d6a0
build.gradle
@@ -19,7 +19,7 @@ version = {
19
def baseVersion = "0.1.0"
20
def vd = versionDetails()
21
if (vd.commitDistance == 0 && vd.lastTag ==~ /^v[0-9]+\.[0-9]+\.[0-9]+(\.[a-zA-Z0-9]+)?/) {
22
- baseVersion
+ vd.lastTag.substring(1)
23
} else {
24
"${baseVersion}.${vd.gitHash}.pre"
25
}
0 commit comments