mirror of
https://github.com/status-im/status-react.git
synced 2025-02-19 22:28:40 +00:00
pull version from VERSION
This commit is contained in:
parent
04ddbc708e
commit
ec6df03fbc
@ -111,12 +111,8 @@ def getVersionName = { ->
|
|||||||
if (project.hasProperty("releaseVersion")) {
|
if (project.hasProperty("releaseVersion")) {
|
||||||
return project.releaseVersion
|
return project.releaseVersion
|
||||||
}
|
}
|
||||||
|
version = new File('../../VERSION').text
|
||||||
exec {
|
return version.replaceAll("\\s","")
|
||||||
commandLine "git", "describe", "--tags", "--always", "--dirty=+"
|
|
||||||
standardOutput = stdOut
|
|
||||||
}
|
|
||||||
return stdOut.toString().replaceAll("\\s","")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user