From fd6bbbd3b58acd78bb233d75e0a7ca211636dd86 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Fri, 30 Aug 2019 15:57:39 +0200 Subject: [PATCH] Fix issue with version name (Fixes #533) --- CHANGES.md | 2 +- vector/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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() }