Beta releases will now also have the build date displayed in the main menu.

This commit is contained in:
Leon Styhre 2022-12-22 20:05:04 +01:00
parent dd1db46522
commit f78f7ab35f
2 changed files with 3 additions and 3 deletions

View file

@ -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()

View file

@ -28,7 +28,7 @@ fi
if [ $# -ne 3 ] && [ $# -ne 4 ]; then
echo "Usage: ./update_version_string.sh <major version> <minor version> <patch version> [<suffix>]"
echo "For example:"
echo "./update_version_string.sh 1 0 0 beta1"
echo "./update_version_string.sh 2 0 0 beta"
exit
fi