mirror of
https://github.com/fabianonline/telegram_backup.git
synced 2024-11-22 16:56:16 +00:00
Gradle now outputs the chosen version string.
This commit is contained in:
parent
6738e20fe4
commit
50ba11a86c
@ -33,7 +33,9 @@ def getVersionName= { ->
|
|||||||
commandLine 'git', 'describe', '--tags', '--dirty'
|
commandLine 'git', 'describe', '--tags', '--dirty'
|
||||||
standardOutput = stdout
|
standardOutput = stdout
|
||||||
}
|
}
|
||||||
return stdout.toString().trim()
|
def version = stdout.toString().trim()
|
||||||
|
logger.lifecycle("Version $version")
|
||||||
|
return version
|
||||||
}
|
}
|
||||||
|
|
||||||
ant.propertyfile(file: "$project.rootDir/build/resources/main/build.properties") {
|
ant.propertyfile(file: "$project.rootDir/build/resources/main/build.properties") {
|
||||||
|
Loading…
Reference in New Issue
Block a user