Skip to content

Commit b75bfde

Browse files
committed
Remove v prefix from version number when releasing
1 parent 0b45373 commit b75bfde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

buildSrc/src/main/kotlin/publishing-conventions.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
}
66

77
group = "io.github.petitcl"
8-
version = if (System.getenv("NEW_VERSION") != null) { System.getenv("NEW_VERSION") } else { "0.0.1-SNAPSHOT" }
8+
version = if (System.getenv("NEW_VERSION") != null) { System.getenv("NEW_VERSION").removePrefix("v") } else { "0.0.1-SNAPSHOT" }
99

1010
repositories {
1111
mavenCentral()

0 commit comments

Comments
 (0)