diff --git a/briar-android/build.gradle b/briar-android/build.gradle index b1c7e21ad5e7e8e88dd0c3755c2a1e1d54a8bcb3..e3cb1ca4b73da6ff5a01d5dd6c14115e83c92c1d 100644 --- a/briar-android/build.gradle +++ b/briar-android/build.gradle @@ -170,7 +170,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()