[PATCH] CI: Fix VERSION_REV and VERSION_BRANCH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix the output of the version revision and version branch, so that they're no
longer empty after the listed change below.

Cc: Dmitrii Galantsev <dmitrii.galantsev@xxxxxxx>
Cc: Tom StDenis <tom.stdenis@xxxxxxx>
Fixes: 7facf591681772 ("CI: Release RPM and DEB packages")
Signed-off-by: Luben Tuikov <luben.tuikov@xxxxxxx>
---
 cmake_modules/GitVersion.cmake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake_modules/GitVersion.cmake b/cmake_modules/GitVersion.cmake
index 7db3ab32130bdc..44c0a67bbad3b0 100644
--- a/cmake_modules/GitVersion.cmake
+++ b/cmake_modules/GitVersion.cmake
@@ -137,9 +137,9 @@ function(get_version_from_tag DEFAULT_VERSION_STRING)
         "${VERSION_MINOR}"
         PARENT_SCOPE)
     set(VERSION_REV
-        "${VERSION_REV}"
+        "${GIT_TAG_STRING}"
         PARENT_SCOPE)
     set(VERSION_BRANCH
-        "${VERSION_BRANCH}"
+        "${GIT_BRANCH}"
         PARENT_SCOPE)
 endfunction()

base-commit: ae9fc1ded740af789ea56c93a7a946b6206fed9a
-- 
2.38.1




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux