From 985fdde1c97a620aba41adf12d40e3b14390002c Mon Sep 17 00:00:00 2001 From: Vadim Yalovets Date: Mon, 30 Jan 2023 13:17:56 +0200 Subject: [PATCH] PXB-2974 Release tasks for PXB-8.0.31-24 --- cmake/mysql_version.cmake | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmake/mysql_version.cmake b/cmake/mysql_version.cmake index 1519b7d6f91c..112c05ccbbd0 100644 --- a/cmake/mysql_version.cmake +++ b/cmake/mysql_version.cmake @@ -175,8 +175,9 @@ MACRO(GET_XTRABACKUP_VERSION) ENDIF() ELSEIF (EXISTS ${CMAKE_SOURCE_DIR}/Docs/INFO_SRC) EXECUTE_PROCESS( - COMMAND grep "^short: " Docs/INFO_SRC - COMMAND sed -e "s/short: //" + COMMAND grep "^commit: " Docs/INFO_SRC + COMMAND sed -e "s/commit: //" + COMMAND cut -c 1-8 WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} OUTPUT_VARIABLE XB_REVISION RESULT_VARIABLE RESULT