diff --git a/briar-android/build.gradle b/briar-android/build.gradle index d9e6559b44a9125ac2c1a8ecb7586595f4c0be62..adfbdaa3bf8c5fa329d5c35579b2c9da4ea6ab78 100644 --- a/briar-android/build.gradle +++ b/briar-android/build.gradle @@ -169,7 +169,7 @@ def getGitHash = { -> def stdout = new ByteArrayOutputStream() try { exec { - commandLine 'git', 'rev-parse', '--short', 'HEAD' + commandLine 'git', 'rev-parse', '--short=7', 'HEAD' standardOutput = stdout } return stdout.toString().trim()