mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-12-05 16:22:32 -08:00
avoid Git tags breaking (#802)
This commit is contained in:
1 parent
0367e3a62d
commit
23dd9aab18
1 file changed
+1
-1
@@ -84,7 +84,7 @@ buildConfig {
|
||||
commandLine("git", "--no-pager", "tag", "--points-at", "HEAD")
|
||||
}.standardOutput.asText.get()
|
||||
buildConfigField("String", "GIT_COMMIT_HASH", "\"${grgit.head().abbreviatedId}\"")
|
||||
buildConfigField("String", "GIT_VERSION_TAG", "\"${gitVersionTag}\"")
|
||||
buildConfigField("String", "GIT_VERSION_TAG", "\"${gitVersionTag.trim()}\"")
|
||||
buildConfigField("boolean", "GIT_CLEAN", grgit.status().isClean.toString())
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user