From 30f8b9c0707ada168bf55faf6142f4dacc3274e0 Mon Sep 17 00:00:00 2001 From: d-hrs Date: Wed, 13 Dec 2023 12:36:26 +0900 Subject: [PATCH] fixed git tags regexp --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 3e7afce..8dea8a0 100644 --- a/build.gradle +++ b/build.gradle @@ -13,7 +13,7 @@ repositories { version = { def vd = versionDetails() - if (vd.commitDistance == 0 && vd.lastTag ==~ /^[0-9]+\.[0-9]+\.[0-9]$/) { + if (vd.commitDistance == 0 && vd.lastTag ==~ /^[0-9]+\.[0-9]+\.[0-9]+$/) { vd.lastTag } else { "0.0.0.${vd.gitHash}"