mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-08 06:50:22 -04:00
gitlab ci: fix wrong branch
This commit is contained in:
parent
98731e1203
commit
af4cc4ac50
@ -470,7 +470,7 @@ val versionJsonTask = tasks.register("versionJson") {
|
||||
println(status)
|
||||
}
|
||||
return mapOf(
|
||||
"branch" to git.branch.current().name,
|
||||
"branch" to (System.getenv()["CI_COMMIT_BRANCH"] ?: git.branch.current().name),
|
||||
"commit" to commit.id,
|
||||
"commit_short" to commit.abbreviatedId,
|
||||
"dirty" to !status.isClean,
|
||||
|
Loading…
x
Reference in New Issue
Block a user