2014-11-22 10:21:50 +00:00
|
|
|
AppVersion=`./Version.sh | awk -F " " '{print $1}'`
|
|
|
|
AppVersionStr=`./Version.sh | awk -F " " '{print $2}'`
|
2015-02-05 14:53:11 +00:00
|
|
|
DevChannel=`./Version.sh | awk -F " " '{print $3}'`
|
|
|
|
DevPostfix=''
|
|
|
|
if [ "$DevChannel" != "0" ]; then
|
|
|
|
DevPostfix='.dev'
|
|
|
|
fi
|
2014-10-17 13:36:02 +00:00
|
|
|
|
2015-02-05 14:53:11 +00:00
|
|
|
if [ ! -f "./../Win32/Deploy/deploy/$AppVersionStr$DevPostfix/tupdate$AppVersion" ]; then
|
2014-10-17 13:36:02 +00:00
|
|
|
echo "tupdate$AppVersion not found!"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2015-02-05 14:53:11 +00:00
|
|
|
if [ ! -f "./../Win32/Deploy/deploy/$AppVersionStr$DevPostfix/tportable.$AppVersionStr$DevPostfix.zip" ]; then
|
|
|
|
echo "tportable.$AppVersionStr$DevPostfix.zip not found!"
|
2014-10-17 13:36:02 +00:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2015-02-05 14:53:11 +00:00
|
|
|
if [ ! -f "./../Win32/Deploy/deploy/$AppVersionStr$DevPostfix/tsetup.$AppVersionStr$DevPostfix.exe" ]; then
|
|
|
|
echo "tsetup.$AppVersionStr$DevPostfix.exe not found!"
|
2014-10-17 13:36:02 +00:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
2015-02-05 14:53:11 +00:00
|
|
|
cp -v ./../Win32/Deploy/deploy/$AppVersionStr$DevPostfix/tupdate$AppVersion /z/TBuild/tother/tsetup/
|
|
|
|
cp -v ./../Win32/Deploy/deploy/$AppVersionStr$DevPostfix/tportable.$AppVersionStr$DevPostfix.zip /z/TBuild/tother/tsetup/
|
|
|
|
cp -v ./../Win32/Deploy/deploy/$AppVersionStr$DevPostfix/tsetup.$AppVersionStr$DevPostfix.exe /z/TBuild/tother/tsetup/
|