We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db68fc3 commit 372600aCopy full SHA for 372600a
1 file changed
build.gradle.kts
@@ -13,7 +13,8 @@ plugins {
13
group = "me.devnatan"
14
version = property("version")
15
.toString()
16
- .takeUnless { it == "unspecified" }
+ .ifEmpty { null }
17
+ ?.takeUnless { it == "unspecified" }
18
?.filterNot { it == 'v' } ?: nextGitTag()
19
20
fun nextGitTag(): String {
0 commit comments