22 lines
943 B
Bash
Executable File
22 lines
943 B
Bash
Executable File
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}'`
|
|
DevPostfix=''
|
|
if [ "$DevChannel" != "0" ]; then
|
|
DevPostfix='.dev'
|
|
fi
|
|
|
|
if [ ! -f "./../Linux/Release/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tlinuxupd$AppVersion" ]; then
|
|
echo "tlinuxupd$AppVersion not found!";
|
|
exit 1
|
|
fi
|
|
|
|
if [ ! -f "./../Linux/Release/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tsetup.$AppVersionStr$DevPostfix.tar.xz" ]; then
|
|
echo "tsetup.$AppVersionStr$DevPostfix.tar.xz not found!"
|
|
exit 1
|
|
fi
|
|
|
|
scp ./../Linux/Release/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tlinuxupd$AppVersion tmaster:tdesktop/www/tlinux/
|
|
scp ./../Linux/Release/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tsetup.$AppVersionStr$DevPostfix.tar.xz tmaster:tdesktop/www/tlinux/
|