We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3c2ee4 commit d27ef12Copy full SHA for d27ef12
buildSrc/src/main/kotlin/Constants.kt
@@ -16,9 +16,9 @@ val webUIRevisionTag = System.getenv("WebUIRevision") ?: "r963"
16
17
// counts commits on the master branch
18
val tachideskRevision = runCatching {
19
- System.getenv("ProductRevision") ?: Runtime
20
- .getRuntime()
21
- .exec("git rev-list HEAD --count")
+ System.getenv("ProductRevision") ?: ProcessBuilder()
+ .command("git", "rev-list", "HEAD", "--count")
+ .start()
22
.let { process ->
23
process.waitFor()
24
val output = process.inputStream.use {
0 commit comments