mirror of
https://github.com/status-im/status-react.git
synced 2025-01-10 19:16:59 +00:00
we are actually in andoid/app dir
This commit is contained in:
parent
86c6701340
commit
a2810999a6
@ -98,8 +98,9 @@ def enableProguardInReleaseBuilds = false
|
|||||||
def getVersionCode = { ->
|
def getVersionCode = { ->
|
||||||
new ByteArrayOutputStream().withStream { stdOut ->
|
new ByteArrayOutputStream().withStream { stdOut ->
|
||||||
exec {
|
exec {
|
||||||
commandLine "sh", "../build_no.sh", "--tag"
|
commandLine "sh", "../../build_no.sh", "--tag"
|
||||||
standardOutput = stdOut
|
standardOutput = stdOut
|
||||||
|
errorOutput = System.err
|
||||||
}
|
}
|
||||||
return stdOut.toString().toInteger()
|
return stdOut.toString().toInteger()
|
||||||
}
|
}
|
||||||
|
@ -25,7 +25,7 @@ getNumber () {
|
|||||||
REGEX='^build-[0-9]\+$'
|
REGEX='^build-[0-9]\+$'
|
||||||
|
|
||||||
# make sure we have all the tags
|
# make sure we have all the tags
|
||||||
git fetch --tags
|
git fetch --tags --quiet
|
||||||
|
|
||||||
# check if current commit has a build tag
|
# check if current commit has a build tag
|
||||||
BUILD=$(git tag --points-at HEAD | grep -e "$REGEX")
|
BUILD=$(git tag --points-at HEAD | grep -e "$REGEX")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user