release script updated for 1.5.3-RC1

This commit is contained in:
Pavel Stupnikov
2015-11-06 20:04:02 +03:00
parent 0fd026bda4
commit 8c0cafbf50
2 changed files with 11 additions and 4 deletions

View File

@@ -73,6 +73,9 @@ This is usable for any OpenTTD servers
== CHANGELOG ==
*** 1.5.3-RC1 (3 Nov 2015) ***
- Update to OpenTTD 1.5.3-RC1
*** 1.5.2/30 (2 Sep 2015) ***
- Fixed fast server change buttons
- Fixed extra data saving (crashed when opening saves).

View File

@@ -1,17 +1,21 @@
TMP="/tmp/cmclient"
WIN="/var/run/media/pavels/F8040EC2040E843A/novattd"
VER="1.5.2"
CMVER="1.5.2"
VER="1.5.3-RC1"
CMVER="1.5.3-RC1"
TMP_SRC="$TMP/openttd-$VER"
DIR=`pwd`
SRC_RELEASE_FNAME="$DIR/citymania-client-$CMVER-source.zip"
RELEASE_FNAME="$DIR/citymania-client-$CMVER-win32.zip"
RELEASE64_FNAME="$DIR/citymania-client-$CMVER-win64.zip"
RELEASE_DIFF="$DIR/citymania-client-$CMVER.diff"
EXE32="$WIN/objs/Win32/Release/openttd.exe"
EXE64="$WIN/objs/x64/Release/openttd.exe"
rm $SRC_RELEASE_FNAME
rm $RELEASE_FNAME
rm $RELEASE64_FNAME
rm -rf $TMP
cp $EXE32 $DIR/openttd.exe
cp $EXE64 $DIR/openttd64.exe
mkdir $TMP
hg diff -r openttd -B --nodates -X src/rev.cpp -X release_files -X make_diff.sh -X release.sh -X check_diff.sh -X novattd.sublime-project -X .hgignore -X src/rev.cpp.in -X Makefile.src.in -X build-number.txt > $RELEASE_DIFF
tar xf ~/Downloads/openttd-$VER-source.tar.* -C $TMP
@@ -27,8 +31,8 @@ cp -r $TMP_SRC/bin/lang $TMP/release/
cp -r $DIR/release_files/* $TMP/release/
cp $DIR/cm_changelog.txt $TMP/release/citymania_changelog.txt
pushd $TMP/release
cp $WIN/bin/openttd.exe openttd.exe
cp $EXE32 openttd.exe
zip -9 -r $RELEASE_FNAME .
cp $WIN/bin/openttd64.exe openttd.exe
cp $EXE64 openttd.exe
zip -9 -r $RELEASE64_FNAME .
popd