Fix issue with version name (Fixes #533)

This commit is contained in:
Benoit Marty 2019-08-30 15:57:39 +02:00
parent 0ff0b014a9
commit fd6bbbd3b5
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ Translations:
- -


Build: Build:
- - Fix issue with version name (#533)


Changes in RiotX 0.4.0 (2019-XX-XX) Changes in RiotX 0.4.0 (2019-XX-XX)
=================================================== ===================================================

View File

@ -51,7 +51,7 @@ static def gitRevisionDate() {
} }


static def gitBranchName() { static def gitBranchName() {
def cmd = "git name-rev --name-only HEAD" def cmd = "git rev-parse --abbrev-ref HEAD"
return cmd.execute().text.trim() return cmd.execute().text.trim()
} }