Skip to content

Commit d5c8610

Browse files
authored
Merge pull request #42 from trocco-io/fix-gha-regexp
fixed git tags regexp
2 parents bdb90a6 + 30f8b9c commit d5c8610

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
@@ -13,7 +13,7 @@ repositories {
1313

1414
version = {
1515
def vd = versionDetails()
16-
if (vd.commitDistance == 0 && vd.lastTag ==~ /^[0-9]+\.[0-9]+\.[0-9]$/) {
16+
if (vd.commitDistance == 0 && vd.lastTag ==~ /^[0-9]+\.[0-9]+\.[0-9]+$/) {
1717
vd.lastTag
1818
} else {
1919
"0.0.0.${vd.gitHash}"

0 commit comments

Comments
 (0)