Skip to content

Commit

Permalink
avoid Git tags breaking (#802)
Browse files Browse the repository at this point in the history
  • Loading branch information
Erimelowo committed Jul 31, 2023
1 parent 0367e3a commit 23dd9aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/desktop/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}

Expand Down

0 comments on commit 23dd9aa

Please sign in to comment.