mirror of
https://github.com/glest/glest-source.git
synced 2025-08-21 15:41:24 +02: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:
@@ -9,9 +9,8 @@ CURRENT_VERSION=`./mg-version.sh --version`
|
|||||||
OLD_VERSION=`./mg-version.sh --oldversion_binary`
|
OLD_VERSION=`./mg-version.sh --oldversion_binary`
|
||||||
VERSION_INFO_FILE="$(dirname "$(readlink -f "$0")")/../../source/version.txt"
|
VERSION_INFO_FILE="$(dirname "$(readlink -f "$0")")/../../source/version.txt"
|
||||||
LastCompatibleSaveGameVersion="$(awk -F '=' '/^LastCompatibleSaveGameVersion =/ {print $2}' "$VERSION_INFO_FILE" | awk -F '"' '{print $2}')"
|
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}')"
|
MapeditorVersion="$CURRENT_VERSION"
|
||||||
G3dviewerVersion="$(awk -F '=' '/^G3dviewerVersion =/ {print $2}' "$VERSION_INFO_FILE" | awk -F '"' '{print $2}')"
|
G3dviewerVersion="$CURRENT_VERSION"
|
||||||
#if [ "$(echo "$CURRENT_VERSION" | grep -v [a-zA-Z])" != "" ]; then modifymore="yes"; else modifymore="no"; fi
|
|
||||||
modifymore="yes"
|
modifymore="yes"
|
||||||
echo
|
echo
|
||||||
echo '===== Updating Game ======'
|
echo '===== Updating Game ======'
|
||||||
|
@@ -5,8 +5,8 @@
|
|||||||
# Copyright (c) 2011 Mark Vejvoda under GNU GPL v3.0+
|
# Copyright (c) 2011 Mark Vejvoda under GNU GPL v3.0+
|
||||||
|
|
||||||
VERSION_INFO_FILE="$(dirname "$(readlink -f "$0")")/../../source/version.txt"
|
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="$(awk -F '=' '/^OldReleaseGameVersion =/ {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_BINARY="$OLD_MG_VERSION"
|
||||||
MG_VERSION="$(awk -F '=' '/^CurrentGameVersion =/ {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
|
if [ "$1" = "--oldversion" ]; then
|
||||||
|
@@ -6,12 +6,8 @@
|
|||||||
CurrentGameVersion = "3.12-dev";
|
CurrentGameVersion = "3.12-dev";
|
||||||
# ^ typical version numbers look like this: "3.11-beta1.0", "3.12-dev", "3.12.0"
|
# ^ typical version numbers look like this: "3.11-beta1.0", "3.12-dev", "3.12.0"
|
||||||
|
|
||||||
OldReleaseGameBinaryVersion = "3.11.0";
|
OldReleaseGameVersion = "3.11.0";
|
||||||
OldReleaseGameDataVersion = "3.11.0";
|
|
||||||
LastCompatibleSaveGameVersion = "3.9.0";
|
LastCompatibleSaveGameVersion = "3.9.0";
|
||||||
|
|
||||||
MapeditorVersion = "1.6.1";
|
|
||||||
G3dviewerVersion = "1.3.6";
|
|
||||||
|
|
||||||
GitCommitForRelease = "4446.1a8673f";
|
GitCommitForRelease = "4446.1a8673f";
|
||||||
# ^ will be automatically generated
|
# ^ will be automatically generated
|
||||||
|
Reference in New Issue
Block a user