From 5192c3f87f08c7477c971ee5124008f91c10b2b6 Mon Sep 17 00:00:00 2001 From: filux Date: Sun, 1 Feb 2015 15:44:24 +0100 Subject: [PATCH 1/5] proposition of different version number management --- mk/linux/build-mg.sh | 1 + mk/linux/mg-version-synch.sh | 117 ++++++++++++++++++++++++++--------- mk/linux/mg-version.sh | 9 +-- source/version.txt | 21 +++++++ 4 files changed, 116 insertions(+), 32 deletions(-) create mode 100644 source/version.txt diff --git a/mk/linux/build-mg.sh b/mk/linux/build-mg.sh index cd85c5c6..9b68bb0a 100755 --- a/mk/linux/build-mg.sh +++ b/mk/linux/build-mg.sh @@ -89,6 +89,7 @@ CLANG_BIN_PATH=$( which clang 2>/dev/null ) CLANGPP_BIN_PATH=$( which clang++ 2>/dev/null ) cd ${SCRIPTDIR} +./mg-version-synch.sh >/dev/null # Google breakpad integration (cross platform memory dumps) - OPTIONAL # Set this to the root path of your Google breakpad subversion working copy. diff --git a/mk/linux/mg-version-synch.sh b/mk/linux/mg-version-synch.sh index 75863f8f..3e646dc6 100755 --- a/mk/linux/mg-version-synch.sh +++ b/mk/linux/mg-version-synch.sh @@ -1,45 +1,106 @@ -#!/bin/bash +#!/bin/sh # Use this script to synchronize other scripts and installers with the version # in mg-version.sh for a Version Release # ---------------------------------------------------------------------------- # Written by Mark Vejvoda -# Copyright (c) 2011 Mark Vejvoda under GNU GPL v3.0+ +# Copyright (c) 2011-2015 Mark Vejvoda under GNU GPL v3.0+ CURRENT_VERSION=`./mg-version.sh --version` OLD_VERSION=`./mg-version.sh --oldversion_binary` - +VERSION_INFO_FILE="$(dirname "$(readlink -f "$0")")/../../source/version.txt" +LastCompatibleSaveGameVersion="$(awk -F '=' '/^LastCompatibleSaveGameVersion =/ {print $2}' "$VERSION_INFO_FILE" | awk -F '"' '{print $2}')" +MapeditorVersion="$(awk -F '=' '/^MapeditorVersion =/ {print $2}' "$VERSION_INFO_FILE" | awk -F '"' '{print $2}')" +G3dviewerVersion="$(awk -F '=' '/^G3dviewerVersion =/ {print $2}' "$VERSION_INFO_FILE" | awk -F '"' '{print $2}')" +if [ "$(echo "$CURRENT_VERSION" | grep -v [a-zA-Z])" != "" ]; then modifymore="yes"; else modifymore="no"; fi +echo +echo '===== Updating Game ======' +# const string glestVersionString = "v3.12-dev"; +echo 'Game version # before:' +grep -E '^const string glestVersionString = "[^"]*";$' ../../source/glest_game/facilities/game_util.cpp +sed -i 's/^const string glestVersionString = "[^"]*";$/const string glestVersionString = "v'$CURRENT_VERSION'";/' ../../source/glest_game/facilities/game_util.cpp +echo 'Game version # after:' +grep -E '^const string glestVersionString = "[^"]*";$' ../../source/glest_game/facilities/game_util.cpp +echo +if [ "$modifymore" = "yes" ]; then + # const string lastCompatibleSaveGameVersionString = "v3.9.0"; + echo 'Compatible Save Game version # before:' + grep -E '^const string lastCompatibleSaveGameVersionString = "[^"]*";$' ../../source/glest_game/facilities/game_util.cpp + sed -i 's/^const string lastCompatibleSaveGameVersionString = "[^"]*";$/const string lastCompatibleSaveGameVersionString = "v'$LastCompatibleSaveGameVersion'";/' ../../source/glest_game/facilities/game_util.cpp + echo 'Compatible Save Game version # after:' + grep -E '^const string lastCompatibleSaveGameVersionString = "[^"]*";$' ../../source/glest_game/facilities/game_util.cpp + echo +fi +if [ "$modifymore" = "yes" ] && [ "$(git status >/dev/null 2>&1; echo "$?")" -eq "0" ]; then + # const string GIT_RawRev = "$4446.1a8673f$"; + GitCommitForRelease="`git rev-list HEAD --count`.`git log -1 --format=%h`"; + echo 'GitCommitForRelease # before:' + grep -E '^GitCommitForRelease = "[^"]*";$' "$VERSION_INFO_FILE" + grep -E '^const string GIT_RawRev = "\$[^"$]*\$";$' ../../source/glest_game/facilities/game_util.cpp + sed -i 's/^GitCommitForRelease = "[^"]*";$/GitCommitForRelease = "'$GitCommitForRelease'";/' "$VERSION_INFO_FILE" + sed -i 's/^const string GIT_RawRev = "$[^"]*";$/const string GIT_RawRev = "$'$GitCommitForRelease'$";/' ../../source/glest_game/facilities/game_util.cpp + echo 'GitCommitForRelease # after:' + grep -E '^GitCommitForRelease = "[^"]*";$' "$VERSION_INFO_FILE" + grep -E '^const string GIT_RawRev = "\$[^"$]*\$";$' ../../source/glest_game/facilities/game_util.cpp +fi +echo +if [ "$modifymore" = "yes" ]; then + echo '===== Updating Mapeditor ======' + # const string mapeditorVersionString = "v1.6.1"; + echo 'Mapeditor version # before:' + grep -E '^const string mapeditorVersionString = "[^"]*";$' ../../source/glest_map_editor/main.cpp + sed -i 's/^const string mapeditorVersionString = "[^"]*";$/const string mapeditorVersionString = "v'$MapeditorVersion'";/' ../../source/glest_map_editor/main.cpp + echo 'Mapeditor version # after:' + grep -E '^const string mapeditorVersionString = "[^"]*";$' ../../source/glest_map_editor/main.cpp + echo + echo '===== Updating G3dviewer ======' + # const string g3dviewerVersionString= "v1.3.6"; + echo 'G3dviewer version # before:' + grep -E '^const string g3dviewerVersionString= "[^"]*";$' ../../source/g3d_viewer/main.cpp + sed -i 's/^const string g3dviewerVersionString= "[^"]*";$/const string g3dviewerVersionString= "v'$G3dviewerVersion'";/' ../../source/g3d_viewer/main.cpp + echo 'G3dviewer version # after:' + grep -E '^const string g3dviewerVersionString= "[^"]*";$' ../../source/g3d_viewer/main.cpp +fi +echo echo '===== Updating Linux Installer ======' # local GAME_VERSION = "x.x.x"; echo 'Linux Installer version # before:' -grep -E '^local GAME_VERSION = "[^"]*";$' mojosetup/megaglest-installer/scripts/config.lua;sed -i 's/^local GAME_VERSION = "[^"]*";$/local GAME_VERSION = "'$CURRENT_VERSION'";/' mojosetup/megaglest-installer/scripts/config.lua +grep -E '^local GAME_VERSION = "[^"]*";$' mojosetup/megaglest-installer/scripts/config.lua +sed -i 's/^local GAME_VERSION = "[^"]*";$/local GAME_VERSION = "'$CURRENT_VERSION'";/' mojosetup/megaglest-installer/scripts/config.lua echo 'Linux Installer version # after:' grep -E '^local GAME_VERSION = "[^"]*";$' mojosetup/megaglest-installer/scripts/config.lua - +echo echo '===== Updating Windows Installer ======' # !define APVER 3.6.0 echo 'Windows Installer version # before:' -grep -E '^\!define APVER [^"]*$' ../windoze/Installer/MegaGlestInstaller.nsi;sed -i 's/^\!define APVER [^"]*$/\!define APVER '$CURRENT_VERSION'/' ../windoze/Installer/MegaGlestInstaller.nsi +grep -E '^\!define APVER [^"]*$' ../windoze/Installer/MegaGlestInstaller.nsi +sed -i 's/^\!define APVER [^"]*$/\!define APVER '$CURRENT_VERSION'/' ../windoze/Installer/MegaGlestInstaller.nsi echo 'Windows Installer version # after:' grep -E '^\!define APVER [^"]*$' ../windoze/Installer/MegaGlestInstaller.nsi - -echo 'Windows Installer version # before:' -grep -E '^\!define APVER_OLD [^"]*$' ../windoze/Installer/MegaGlestInstaller.nsi;sed -i 's/^\!define APVER_OLD [^"]*$/\!define APVER_OLD '$OLD_VERSION'/' ../windoze/Installer/MegaGlestInstaller.nsi -echo 'Windows Installer version # after:' -grep -E '^\!define APVER_OLD [^"]*$' ../windoze/Installer/MegaGlestInstaller.nsi - -echo '===== Updating Windows Updater ======' -echo 'Windows Updater version # before:' -grep -E '^\!define APVER [^"]*$' ../windoze/Installer/MegaGlestUpdater.nsi;sed -i 's/^\!define APVER [^"]*$/\!define APVER '$CURRENT_VERSION'/' ../windoze/Installer/MegaGlestUpdater.nsi -echo 'Windows Updater version # after:' -grep -E '^\!define APVER [^"]*$' ../windoze/Installer/MegaGlestUpdater.nsi - -echo 'Windows Updater version # before:' -grep -E '^\!define APVER_OLD [^"]*$' ../windoze/Installer/MegaGlestUpdater.nsi;sed -i 's/^\!define APVER_OLD [^"]*$/\!define APVER_OLD '$OLD_VERSION'/' ../windoze/Installer/MegaGlestUpdater.nsi -echo 'Windows Updater version # after:' -grep -E '^\!define APVER_OLD [^"]*$' ../windoze/Installer/MegaGlestUpdater.nsi - -grep -E '^\!define APVER_UPDATE [^"]*$' ../windoze/Installer/MegaGlestUpdater.nsi;sed -i 's/^\!define APVER_UPDATE [^"]*$/\!define APVER_UPDATE '$CURRENT_VERSION'/' ../windoze/Installer/MegaGlestUpdater.nsi -echo 'Windows Updater version # after:' -grep -E '^\!define APVER_UPDATE [^"]*$' ../windoze/Installer/MegaGlestUpdater.nsi - - +echo +if [ "$modifymore" = "yes" ]; then + echo 'Windows Installer version # before:' + grep -E '^\!define APVER_OLD [^"]*$' ../windoze/Installer/MegaGlestInstaller.nsi + sed -i 's/^\!define APVER_OLD [^"]*$/\!define APVER_OLD '$OLD_VERSION'/' ../windoze/Installer/MegaGlestInstaller.nsi + echo 'Windows Installer version # after:' + grep -E '^\!define APVER_OLD [^"]*$' ../windoze/Installer/MegaGlestInstaller.nsi + echo + echo '===== Updating Windows Updater ======' + echo 'Windows Updater version # before:' + grep -E '^\!define APVER [^"]*$' ../windoze/Installer/MegaGlestUpdater.nsi + sed -i 's/^\!define APVER [^"]*$/\!define APVER '$CURRENT_VERSION'/' ../windoze/Installer/MegaGlestUpdater.nsi + echo 'Windows Updater version # after:' + grep -E '^\!define APVER [^"]*$' ../windoze/Installer/MegaGlestUpdater.nsi + echo + echo 'Windows Updater version # before:' + grep -E '^\!define APVER_OLD [^"]*$' ../windoze/Installer/MegaGlestUpdater.nsi + sed -i 's/^\!define APVER_OLD [^"]*$/\!define APVER_OLD '$OLD_VERSION'/' ../windoze/Installer/MegaGlestUpdater.nsi + echo 'Windows Updater version # after:' + grep -E '^\!define APVER_OLD [^"]*$' ../windoze/Installer/MegaGlestUpdater.nsi + echo + echo 'Windows Updater version # before:' + grep -E '^\!define APVER_UPDATE [^"]*$' ../windoze/Installer/MegaGlestUpdater.nsi + sed -i 's/^\!define APVER_UPDATE [^"]*$/\!define APVER_UPDATE '$CURRENT_VERSION'/' ../windoze/Installer/MegaGlestUpdater.nsi + echo 'Windows Updater version # after:' + grep -E '^\!define APVER_UPDATE [^"]*$' ../windoze/Installer/MegaGlestUpdater.nsi + echo +fi diff --git a/mk/linux/mg-version.sh b/mk/linux/mg-version.sh index c37441dc..4924e9ff 100755 --- a/mk/linux/mg-version.sh +++ b/mk/linux/mg-version.sh @@ -1,12 +1,13 @@ -#!/bin/bash +#!/bin/sh # Use this script to idenitfy previous and current Version for a Version Release # ---------------------------------------------------------------------------- # Written by Mark Vejvoda # Copyright (c) 2011 Mark Vejvoda under GNU GPL v3.0+ -OLD_MG_VERSION=3.11.0 -OLD_MG_VERSION_BINARY=3.11.0 -MG_VERSION=3.12-dev +VERSION_INFO_FILE="$(dirname "$(readlink -f "$0")")/../../source/version.txt" +OLD_MG_VERSION="$(awk -F '=' '/^OldReleaseGameDataVersion =/ {print $2}' "$VERSION_INFO_FILE" | awk -F '"' '{print $2}')" +OLD_MG_VERSION_BINARY="$(awk -F '=' '/^OldReleaseGameBinaryVersion =/ {print $2}' "$VERSION_INFO_FILE" | awk -F '"' '{print $2}')" +MG_VERSION="$(awk -F '=' '/^CurrentGameVersion =/ {print $2}' "$VERSION_INFO_FILE" | awk -F '"' '{print $2}')" if [ "$1" = "--oldversion" ]; then echo "$OLD_MG_VERSION" diff --git a/source/version.txt b/source/version.txt new file mode 100644 index 00000000..f116b51a --- /dev/null +++ b/source/version.txt @@ -0,0 +1,21 @@ +# How it currently works? +# Set version here (only here) and just start build on linux. Versions will be +# updated everywhere automatically, but if CurrentGameVersion is a "dev" then +# only game version will be automatically updated (saving time during rebuild +# and for cleaner "git status"). +# +# Then you should on the occasion commit changed files (this step should/will +# disappear someday, during later improvements). + +CurrentGameVersion = "3.12-dev"; +# ^ typical version numbers look like this: "3.11-beta1.0", "3.12-dev", "3.12.0" + +OldReleaseGameBinaryVersion = "3.11.0"; +OldReleaseGameDataVersion = "3.11.0"; +LastCompatibleSaveGameVersion = "3.9.0"; + +MapeditorVersion = "1.6.1"; +G3dviewerVersion = "1.3.6"; + +GitCommitForRelease = "4446.1a8673f"; +# ^ will be automatically generated From 8596f70479132263b2794e55bd237e1ed45b11a5 Mon Sep 17 00:00:00 2001 From: filux Date: Sun, 1 Feb 2015 23:41:09 +0100 Subject: [PATCH 2/5] updated readme file in relation to version number management --- docs/README.release-management.txt | 31 ++++++++---------------------- 1 file changed, 8 insertions(+), 23 deletions(-) diff --git a/docs/README.release-management.txt b/docs/README.release-management.txt index 9628b3a1..8f261a88 100644 --- a/docs/README.release-management.txt +++ b/docs/README.release-management.txt @@ -11,30 +11,15 @@ Source and Data Archives: ========================= There are 3 archives that are built for a given release (starting with versions -after 3.6.0). In order to build a release you must have all files checked out -of svn for that specific release (example: trunk) - -To set the current version for release, modify the file mk/linux/mg-version.sh -and change the two variables: - -OLD_MG_VERSION=3.6.0.1 -MG_VERSION=3.6.0.2 - -*Note: Please ensure the MG_VERSION variable matches the version set in the -MegaGlest binary, this can be checked by running: ./megaglest --version -It is possible to have the mg-version.sh script NOT match the binary in cases -where we are releasing binary compatible updates to the archives in which case -we typically use a forth digit in the version # (as seen above) - -After setting the correct verions in mg-version.sh you should call: -./mg-version-synch.sh - -This will update associated installers to use the correct version stamps - -To set the actual binary to the desired version you must manually edit -glest_game/facilities/game_util.cpp -const string glestVersionString = "v3.8-dev"; +after 3.6.0). In order to build a release you must have all git repositories +checked out for that specific release (example, tag: 3.11.0) or downloaded all +source archives/"tarballs" which in their name have same version, equal to tag. +To set the current version for release, modify the file source/version.txt +and change there available variables. +During build (on linux by script build-mg.sh) version number will be updated +automatically everywhere where it is needed. +Then you only have to commit changed files. #1. The source archive: This archive contains source code for binary compilation of the application and From da33c4323050f381abada01b964984b300bc7f82 Mon Sep 17 00:00:00 2001 From: filux Date: Mon, 2 Feb 2015 22:08:20 +0100 Subject: [PATCH 3/5] a bit more manual but also cleaner way of updating version number --- docs/README.release-management.txt | 7 +++---- mk/linux/build-mg.sh | 1 - mk/linux/mg-version-synch.sh | 3 ++- source/version.txt | 10 +++------- 4 files changed, 8 insertions(+), 13 deletions(-) diff --git a/docs/README.release-management.txt b/docs/README.release-management.txt index 8f261a88..bce6350f 100644 --- a/docs/README.release-management.txt +++ b/docs/README.release-management.txt @@ -16,10 +16,9 @@ checked out for that specific release (example, tag: 3.11.0) or downloaded all source archives/"tarballs" which in their name have same version, equal to tag. To set the current version for release, modify the file source/version.txt -and change there available variables. -During build (on linux by script build-mg.sh) version number will be updated -automatically everywhere where it is needed. -Then you only have to commit changed files. +and change there available variables, then run mk/linux/mg-version-synch.sh script +for updating version number everywhere where it is needed and then you only have +to commit changed files. #1. The source archive: This archive contains source code for binary compilation of the application and diff --git a/mk/linux/build-mg.sh b/mk/linux/build-mg.sh index 9b68bb0a..cd85c5c6 100755 --- a/mk/linux/build-mg.sh +++ b/mk/linux/build-mg.sh @@ -89,7 +89,6 @@ CLANG_BIN_PATH=$( which clang 2>/dev/null ) CLANGPP_BIN_PATH=$( which clang++ 2>/dev/null ) cd ${SCRIPTDIR} -./mg-version-synch.sh >/dev/null # Google breakpad integration (cross platform memory dumps) - OPTIONAL # Set this to the root path of your Google breakpad subversion working copy. diff --git a/mk/linux/mg-version-synch.sh b/mk/linux/mg-version-synch.sh index 3e646dc6..94786423 100755 --- a/mk/linux/mg-version-synch.sh +++ b/mk/linux/mg-version-synch.sh @@ -11,7 +11,8 @@ VERSION_INFO_FILE="$(dirname "$(readlink -f "$0")")/../../source/version.txt" LastCompatibleSaveGameVersion="$(awk -F '=' '/^LastCompatibleSaveGameVersion =/ {print $2}' "$VERSION_INFO_FILE" | awk -F '"' '{print $2}')" MapeditorVersion="$(awk -F '=' '/^MapeditorVersion =/ {print $2}' "$VERSION_INFO_FILE" | awk -F '"' '{print $2}')" G3dviewerVersion="$(awk -F '=' '/^G3dviewerVersion =/ {print $2}' "$VERSION_INFO_FILE" | awk -F '"' '{print $2}')" -if [ "$(echo "$CURRENT_VERSION" | grep -v [a-zA-Z])" != "" ]; then modifymore="yes"; else modifymore="no"; fi +#if [ "$(echo "$CURRENT_VERSION" | grep -v [a-zA-Z])" != "" ]; then modifymore="yes"; else modifymore="no"; fi +modifymore="yes" echo echo '===== Updating Game ======' # const string glestVersionString = "v3.12-dev"; diff --git a/source/version.txt b/source/version.txt index f116b51a..ab19547b 100644 --- a/source/version.txt +++ b/source/version.txt @@ -1,11 +1,7 @@ # How it currently works? -# Set version here (only here) and just start build on linux. Versions will be -# updated everywhere automatically, but if CurrentGameVersion is a "dev" then -# only game version will be automatically updated (saving time during rebuild -# and for cleaner "git status"). -# -# Then you should on the occasion commit changed files (this step should/will -# disappear someday, during later improvements). +# Set version here (only here) and just start mk/linux/mg-version-synch.sh script. +# Versions will be updated everywhere automatically. +# Then you should commit changed files and that's all. CurrentGameVersion = "3.12-dev"; # ^ typical version numbers look like this: "3.11-beta1.0", "3.12-dev", "3.12.0" From 7451e4921357b7a099bf6121e3f8bcd6b1b25aae Mon Sep 17 00:00:00 2001 From: filux Date: Mon, 2 Feb 2015 22:20:57 +0100 Subject: [PATCH 4/5] mapeditor and g3dviever will have always same version number as game, also game and binary packages will have always same version --- mk/linux/mg-version-synch.sh | 5 ++--- mk/linux/mg-version.sh | 4 ++-- source/version.txt | 6 +----- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/mk/linux/mg-version-synch.sh b/mk/linux/mg-version-synch.sh index 94786423..604d728a 100755 --- a/mk/linux/mg-version-synch.sh +++ b/mk/linux/mg-version-synch.sh @@ -9,9 +9,8 @@ CURRENT_VERSION=`./mg-version.sh --version` OLD_VERSION=`./mg-version.sh --oldversion_binary` VERSION_INFO_FILE="$(dirname "$(readlink -f "$0")")/../../source/version.txt" LastCompatibleSaveGameVersion="$(awk -F '=' '/^LastCompatibleSaveGameVersion =/ {print $2}' "$VERSION_INFO_FILE" | awk -F '"' '{print $2}')" -MapeditorVersion="$(awk -F '=' '/^MapeditorVersion =/ {print $2}' "$VERSION_INFO_FILE" | awk -F '"' '{print $2}')" -G3dviewerVersion="$(awk -F '=' '/^G3dviewerVersion =/ {print $2}' "$VERSION_INFO_FILE" | awk -F '"' '{print $2}')" -#if [ "$(echo "$CURRENT_VERSION" | grep -v [a-zA-Z])" != "" ]; then modifymore="yes"; else modifymore="no"; fi +MapeditorVersion="$CURRENT_VERSION" +G3dviewerVersion="$CURRENT_VERSION" modifymore="yes" echo echo '===== Updating Game ======' diff --git a/mk/linux/mg-version.sh b/mk/linux/mg-version.sh index 4924e9ff..ef735ca7 100755 --- a/mk/linux/mg-version.sh +++ b/mk/linux/mg-version.sh @@ -5,8 +5,8 @@ # Copyright (c) 2011 Mark Vejvoda under GNU GPL v3.0+ VERSION_INFO_FILE="$(dirname "$(readlink -f "$0")")/../../source/version.txt" -OLD_MG_VERSION="$(awk -F '=' '/^OldReleaseGameDataVersion =/ {print $2}' "$VERSION_INFO_FILE" | awk -F '"' '{print $2}')" -OLD_MG_VERSION_BINARY="$(awk -F '=' '/^OldReleaseGameBinaryVersion =/ {print $2}' "$VERSION_INFO_FILE" | awk -F '"' '{print $2}')" +OLD_MG_VERSION="$(awk -F '=' '/^OldReleaseGameVersion =/ {print $2}' "$VERSION_INFO_FILE" | awk -F '"' '{print $2}')" +OLD_MG_VERSION_BINARY="$OLD_MG_VERSION" MG_VERSION="$(awk -F '=' '/^CurrentGameVersion =/ {print $2}' "$VERSION_INFO_FILE" | awk -F '"' '{print $2}')" if [ "$1" = "--oldversion" ]; then diff --git a/source/version.txt b/source/version.txt index ab19547b..aeb3e790 100644 --- a/source/version.txt +++ b/source/version.txt @@ -6,12 +6,8 @@ CurrentGameVersion = "3.12-dev"; # ^ typical version numbers look like this: "3.11-beta1.0", "3.12-dev", "3.12.0" -OldReleaseGameBinaryVersion = "3.11.0"; -OldReleaseGameDataVersion = "3.11.0"; +OldReleaseGameVersion = "3.11.0"; LastCompatibleSaveGameVersion = "3.9.0"; -MapeditorVersion = "1.6.1"; -G3dviewerVersion = "1.3.6"; - GitCommitForRelease = "4446.1a8673f"; # ^ will be automatically generated From e324a8f75c4089e8ac4cbf6e7b8d9c5385ec6dd6 Mon Sep 17 00:00:00 2001 From: filux Date: Mon, 2 Feb 2015 22:23:22 +0100 Subject: [PATCH 5/5] updated version numbers --- source/g3d_viewer/main.cpp | 2 +- source/glest_game/facilities/game_util.cpp | 2 +- source/glest_map_editor/main.cpp | 2 +- source/version.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/g3d_viewer/main.cpp b/source/g3d_viewer/main.cpp index 1f0c9203..624fca2c 100644 --- a/source/g3d_viewer/main.cpp +++ b/source/g3d_viewer/main.cpp @@ -58,7 +58,7 @@ const char *folderDelimiter = "/"; //int GameConstants::updateFps= 40; //int GameConstants::cameraFps= 100; -const string g3dviewerVersionString= "v1.3.6"; +const string g3dviewerVersionString= "v3.12-dev"; // Because g3d should always support alpha transparency string fileFormat = "png"; diff --git a/source/glest_game/facilities/game_util.cpp b/source/glest_game/facilities/game_util.cpp index fae6f020..02440651 100644 --- a/source/glest_game/facilities/game_util.cpp +++ b/source/glest_game/facilities/game_util.cpp @@ -43,7 +43,7 @@ const string lastCompatibleSaveGameVersionString = "v3.9.0"; const string GIT_RawRev = string(GITVERSION); const string GIT_Rev = string("Rev: ") + string(GITVERSION); #else -const string GIT_RawRev = "$4446.1a8673f$"; +const string GIT_RawRev = "$5060.7451e49$"; const string GIT_Rev = "$Rev$"; #endif diff --git a/source/glest_map_editor/main.cpp b/source/glest_map_editor/main.cpp index adbfc520..e9720f9d 100644 --- a/source/glest_map_editor/main.cpp +++ b/source/glest_map_editor/main.cpp @@ -46,7 +46,7 @@ string getGameReadWritePath(string lookupKey) { namespace MapEditor { -const string mapeditorVersionString = "v1.6.1"; +const string mapeditorVersionString = "v3.12-dev"; const string MainWindow::winHeader = "MegaGlest Map Editor " + mapeditorVersionString; // =============================================== diff --git a/source/version.txt b/source/version.txt index aeb3e790..71ba4036 100644 --- a/source/version.txt +++ b/source/version.txt @@ -9,5 +9,5 @@ CurrentGameVersion = "3.12-dev"; OldReleaseGameVersion = "3.11.0"; LastCompatibleSaveGameVersion = "3.9.0"; -GitCommitForRelease = "4446.1a8673f"; +GitCommitForRelease = "5060.7451e49"; # ^ will be automatically generated