fix upstream branch
This commit is contained in:
parent
b79c769001
commit
9ad0bc2454
|
@ -7,7 +7,7 @@ android {
|
|||
def getGitHash = { ->
|
||||
def stdout = new ByteArrayOutputStream()
|
||||
exec {
|
||||
commandLine 'git', 'rev-parse', '--short', 'main'
|
||||
commandLine 'git', 'rev-parse', '--short', 'upstream/master'
|
||||
standardOutput = stdout
|
||||
}
|
||||
return stdout.toString().trim()
|
||||
|
|
Loading…
Reference in New Issue