[PATCH] CI: Fix VERSION_REV and VERSION_BRANCH
Luben Tuikov
luben.tuikov at amd.com
Wed Nov 23 17:04:52 UTC 2022
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 at amd.com>
Cc: Tom StDenis <tom.stdenis at amd.com>
Fixes: 7facf591681772 ("CI: Release RPM and DEB packages")
Signed-off-by: Luben Tuikov <luben.tuikov at amd.com>
---
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
More information about the amd-gfx
mailing list