diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/android/app/build.gradle.kts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/app/build.gradle.kts b/src/android/app/build.gradle.kts index e765720b1..379adb08c 100644 --- a/src/android/app/build.gradle.kts +++ b/src/android/app/build.gradle.kts @@ -191,7 +191,7 @@ fun getVersion(): String { fun getGitHash(): String { try { - val processBuilder = ProcessBuilder("git", "rev-parse", "HEAD") + val processBuilder = ProcessBuilder("git", "rev-parse", "--short", "HEAD") processBuilder.directory(project.rootDir) val process = processBuilder.start() val inputStream = process.inputStream |