Skip to content

Commit 1c1d6a0

Browse files
committed
[clean]fix gem versioning
1 parent 4b8531a commit 1c1d6a0

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
@@ -19,7 +19,7 @@ version = {
1919
def baseVersion = "0.1.0"
2020
def vd = versionDetails()
2121
if (vd.commitDistance == 0 && vd.lastTag ==~ /^v[0-9]+\.[0-9]+\.[0-9]+(\.[a-zA-Z0-9]+)?/) {
22-
baseVersion
22+
vd.lastTag.substring(1)
2323
} else {
2424
"${baseVersion}.${vd.gitHash}.pre"
2525
}

0 commit comments

Comments
 (0)