Skip to content

Commit a834b35

Browse files
authored
Merge pull request #45 from domaframework/ci/update-changelog-action-regex-last-tag
Regular expressions to match tag name format updates
2 parents be4cc34 + 555b6f9 commit a834b35

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)