mirror of
https://github.com/glest/glest-source.git
synced 2025-02-23 11:15:02 +01:00
mapeditor and g3dviever will have always same version number as game, also game and binary packages will have always same version
This commit is contained in:
parent
da33c43230
commit
7451e49213
@ -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 ======'
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user