Skip to content

Commit 555b6f9

Browse files
committed
Regular expressions to match tag name format updates
1 parent 6118f74 commit 555b6f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ tasks.register("updateChangelog") {
290290
}
291291

292292
val tagsOutput = runCommand("git tag --sort=-v:refname")
293-
val semverRegex = Regex("^v\\d+\\.\\d+\\.\\d+$")
293+
val semverRegex = Regex("^\\d+\\.\\d+\\.\\d+$")
294294
val tags = tagsOutput.lines().filter { semverRegex.matches(it) }
295295
if (tags.isEmpty()) {
296296
throw GradleException("Not Found Release Tag")

0 commit comments

Comments
 (0)