use HEAD for counting commits

This commit is contained in:
Aria Moradi 2021-05-23 18:22:35 +04:30
parent 4f70cc9283
commit 6ddb5db57b

View File

@ -91,7 +91,7 @@ val tachideskVersion = "v0.3.8"
// counts commit count on master
val tachideskRevision = Runtime
.getRuntime()
.exec("git rev-list master --count")
.exec("git rev-list HEAD --count")
.let { process ->
process.waitFor()
val output = process.inputStream.use {