diff --git a/CHANGES.md b/CHANGES.md index 0a089e81bb..aa494b723b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -17,7 +17,7 @@ Translations: - Build: - - + - Fix issue with version name (#533) Changes in RiotX 0.4.0 (2019-XX-XX) =================================================== diff --git a/vector/build.gradle b/vector/build.gradle index 9d49827610..c69b5e5538 100644 --- a/vector/build.gradle +++ b/vector/build.gradle @@ -51,7 +51,7 @@ static def gitRevisionDate() { } static def gitBranchName() { - def cmd = "git name-rev --name-only HEAD" + def cmd = "git rev-parse --abbrev-ref HEAD" return cmd.execute().text.trim() }