mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-15 18:34:56 -04:00
git/gradle: set dirty status correctly
This commit is contained in:
parent
b1dde655f7
commit
d13f57bd1a
@ -428,7 +428,7 @@ val versionJsonTask = tasks.register("versionJson") {
|
|||||||
"branch" to git.branch.current().name,
|
"branch" to git.branch.current().name,
|
||||||
"commit" to commit.id,
|
"commit" to commit.id,
|
||||||
"commit_short" to commit.abbreviatedId,
|
"commit_short" to commit.abbreviatedId,
|
||||||
"dirty" to git.status().isClean,
|
"dirty" to !git.status().isClean,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user