Fix version code

This commit is contained in:
Koitharu
2020-03-29 10:58:24 +03:00
parent 1314c601b2
commit 7ee486e4f2

View File

@@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
def gitCommits = 'git rev-list --all --count'.execute([], rootDir).text.trim().toInteger()
def gitCommits = 'git rev-list --count HEAD'.execute([], rootDir).text.trim().toInteger()
def gitBranch = 'git branch --show-current'.execute([], rootDir).text.trim()
android {