fancydialogs: Add version fetcher and config

This commit is contained in:
Oliver
2025-06-27 16:49:26 +02:00
parent 4a8d130235
commit 23efe9b951
6 changed files with 102 additions and 17 deletions

View File

@@ -125,8 +125,9 @@ tasks {
val props = mapOf(
"description" to project.description,
"version" to getFDVersion(),
"hash" to gitCommitHash.get(),
"build" to (System.getenv("BUILD_ID") ?: "").ifEmpty { "undefined" }
"commit_hash" to gitCommitHash.get(),
"channel" to (System.getenv("RELEASE_CHANNEL") ?: "").ifEmpty { "undefined" },
"platform" to (System.getenv("RELEASE_PLATFORM") ?: "").ifEmpty { "undefined" }
)
inputs.properties(props)