fix upstream branch

This commit is contained in:
sk 2022-12-09 14:23:40 +01:00
parent b79c769001
commit 9ad0bc2454
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ android {
def getGitHash = { -> def getGitHash = { ->
def stdout = new ByteArrayOutputStream() def stdout = new ByteArrayOutputStream()
exec { exec {
commandLine 'git', 'rev-parse', '--short', 'main' commandLine 'git', 'rev-parse', '--short', 'upstream/master'
standardOutput = stdout standardOutput = stdout
} }
return stdout.toString().trim() return stdout.toString().trim()