build: ensure gradle version does not have v prefix (#1080)

This commit is contained in:
James Ward
2026-05-04 11:19:04 +02:00
committed by GitHub
parent f3138a88c5
commit 108cd1954a
+1 -1
View File
@@ -15,7 +15,7 @@ plugins {
}
group = "org.booklore"
version = System.getenv("APP_VERSION") ?: "0.0.1-SNAPSHOT"
version = (System.getenv("APP_VERSION") ?: "0.0.1-SNAPSHOT").replace(Regex("^v"), "")
val defaultFrontendDistDir = file("${rootDir}/../frontend/dist/grimmory/browser")
val configuredFrontendDistDir = providers.gradleProperty("frontendDistDir")