2015-06-25 18:04:40 +00:00
|
|
|
AppVersionStrMajor=`./Version.sh | awk -F " " '{print $1}'`
|
|
|
|
AppVersion=`./Version.sh | awk -F " " '{print $2}'`
|
|
|
|
AppVersionStr=`./Version.sh | awk -F " " '{print $3}'`
|
|
|
|
DevChannel=`./Version.sh | awk -F " " '{print $4}'`
|
2015-02-05 15:03:03 +00:00
|
|
|
DevPostfix=''
|
|
|
|
if [ "$DevChannel" != "0" ]; then
|
|
|
|
DevPostfix='.dev'
|
|
|
|
fi
|
2014-10-17 13:27:48 +00:00
|
|
|
|
2015-06-25 18:04:40 +00:00
|
|
|
if [ ! -f "./../Linux/Release/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tlinux32upd$AppVersion" ]; then
|
2014-10-17 13:27:48 +00:00
|
|
|
echo "tlinux32upd$AppVersion not found!"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2015-06-25 18:04:40 +00:00
|
|
|
if [ ! -f "./../Linux/Release/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tsetup32.$AppVersionStr$DevPostfix.tar.xz" ]; then
|
2015-02-05 15:03:03 +00:00
|
|
|
echo "tsetup32.$AppVersionStr$DevPostfix.zip not found!"
|
2014-10-17 13:27:48 +00:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2015-06-25 18:04:40 +00:00
|
|
|
scp ./../Linux/Release/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tlinux32upd$AppVersion tmaster:tdesktop/www/tlinux32/
|
|
|
|
scp ./../Linux/Release/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tsetup32.$AppVersionStr$DevPostfix.tar.xz tmaster:tdesktop/www/tlinux32/
|
2014-10-17 13:27:48 +00:00
|
|
|
|