From f78f7ab35f5823701e152d193c5ca5e969838deb Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 22 Dec 2022 20:05:04 +0100 Subject: [PATCH] Beta releases will now also have the build date displayed in the main menu. --- CMakeLists.txt | 4 ++-- tools/update_version_string.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3a4103d06..8996d46eb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -343,8 +343,8 @@ if(APPLE AND CMAKE_OSX_DEPLOYMENT_TARGET VERSION_LESS 10.14) add_compile_definitions(LEGACY_MACOS) endif() -# If it's an alpha or dev build, then display the build date in the main menu. -if(ES_VERSION MATCHES alpha OR ES_VERSION MATCHES dev) +# If it's an alpha, beta or dev build, then display the build date in the main menu. +if(ES_VERSION MATCHES alpha OR ES_VERSION MATCHES beta OR ES_VERSION MATCHES dev) add_compile_definitions(MENU_BUILD_DATE) endif() diff --git a/tools/update_version_string.sh b/tools/update_version_string.sh index 40351beba..815779efb 100755 --- a/tools/update_version_string.sh +++ b/tools/update_version_string.sh @@ -28,7 +28,7 @@ fi if [ $# -ne 3 ] && [ $# -ne 4 ]; then echo "Usage: ./update_version_string.sh []" echo "For example:" - echo "./update_version_string.sh 1 0 0 beta1" + echo "./update_version_string.sh 2 0 0 beta" exit fi