Fix issue with version name (Fixes #533)
This commit is contained in:
parent
0ff0b014a9
commit
fd6bbbd3b5
|
@ -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)
|
||||||
===================================================
|
===================================================
|
||||||
|
|
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue