diff --git a/app/build.gradle b/app/build.gradle index c72c8a0..e143bc0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'com.android.application' def getVersionName = { -> def stdout = new ByteArrayOutputStream() exec { - commandLine 'git', 'describe', '--tags' + commandLine 'git', 'describe', '--tags', '--always' standardOutput = stdout } return stdout.toString().trim()