fix upstream branch
This commit is contained in:
parent
b79c769001
commit
9ad0bc2454
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue