Skip to content

Commit 4eed0d5

Browse files
authored
Merge pull request #246 from thc202/build/correct-tag-check
Validate tag for releases
2 parents 276176c + dcb1fbd commit 4eed0d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addOns/addOns.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ subprojects {
7070
}
7171

7272
System.getenv("GITHUB_REF")?.let { ref ->
73-
if ("refs/tags/" !in ref) {
73+
if ("refs/tags/" !in ref || !ref.contains(Regex(".*-v.*"))) {
7474
return@let
7575
}
7676

0 commit comments

Comments
 (0)