Skip to content

Commit

Permalink
Merge pull request percona#1412 from adivinho/release-8.0.31-24
Browse files Browse the repository at this point in the history
PXB-2974 Release tasks for PXB-8.0.31-24
  • Loading branch information
adivinho authored Jan 30, 2023
2 parents ccc1755 + 985fdde commit f0754ed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmake/mysql_version.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f0754ed

Please sign in to comment.