separate --tag argument from the command

This commit is contained in:
Jakub Sokołowski 2018-05-07 17:10:21 +02:00
parent 3c0fa7feb5
commit c1af6448d6
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ def getVersionCode = { ->
new ByteArrayOutputStream().withStream { stdOut ->
exec {
workingDir "../"
commandLine "./build_no.sh --tag"
commandLine "./build_no.sh", "--tag"
standardOutput = stdOut
}
return stdOut.toString().toInteger()