mirror of
https://github.com/FancyInnovations/FancyPlugins.git
synced 2025-12-06 07:43:36 +00:00
common, fancynpcs, fancyholograms-v2, fancyholograms-v3, ci: Add channel and platform to version config
This commit is contained in:
@@ -150,7 +150,9 @@ tasks {
|
||||
val props = mapOf(
|
||||
"description" to project.description,
|
||||
"version" to getFHVersion(),
|
||||
"hash" to getCurrentCommitHash(),
|
||||
"commit_hash" to getCurrentCommitHash(),
|
||||
"channel" to (System.getenv("RELEASE_CHANNEL") ?: "").ifEmpty { "undefined" },
|
||||
"platform" to (System.getenv("RELEASE_PLATFORM") ?: "").ifEmpty { "undefined" }
|
||||
)
|
||||
|
||||
inputs.properties(props)
|
||||
|
||||
Reference in New Issue
Block a user