forked from telegramdesktop/tdesktop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a5c81cf
commit 86f0216
Showing
216 changed files
with
52,378 additions
and
22,362 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
AppVersion=`./Version.sh | awk -F " " '{print $1}'` | ||
AppVersionStr=`./Version.sh | awk -F " " '{print $2}'` | ||
DevChannel=`./Version.sh | awk -F " " '{print $3}'` | ||
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/$AppVersionStr$DevPostfix/tlinuxupd$AppVersion" ]; then | ||
if [ ! -f "./../Linux/Release/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tlinuxupd$AppVersion" ]; then | ||
echo "tlinuxupd$AppVersion not found!"; | ||
exit 1 | ||
fi | ||
|
||
if [ ! -f "./../Linux/Release/deploy/$AppVersionStr$DevPostfix/tsetup.$AppVersionStr$DevPostfix.tar.xz" ]; then | ||
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/$AppVersionStr$DevPostfix/tlinuxupd$AppVersion tmaster:tdesktop/www/tlinux/ | ||
scp ./../Linux/Release/deploy/$AppVersionStr$DevPostfix/tsetup.$AppVersionStr$DevPostfix.tar.xz tmaster:tdesktop/www/tlinux/ | ||
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
AppVersion=`./Version.sh | awk -F " " '{print $1}'` | ||
AppVersionStr=`./Version.sh | awk -F " " '{print $2}'` | ||
DevChannel=`./Version.sh | awk -F " " '{print $3}'` | ||
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/$AppVersionStr$DevPostfix/tlinux32upd$AppVersion" ]; then | ||
if [ ! -f "./../Linux/Release/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tlinux32upd$AppVersion" ]; then | ||
echo "tlinux32upd$AppVersion not found!" | ||
exit 1 | ||
fi | ||
|
||
if [ ! -f "./../Linux/Release/deploy/$AppVersionStr$DevPostfix/tsetup32.$AppVersionStr$DevPostfix.tar.xz" ]; then | ||
if [ ! -f "./../Linux/Release/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tsetup32.$AppVersionStr$DevPostfix.tar.xz" ]; then | ||
echo "tsetup32.$AppVersionStr$DevPostfix.zip not found!" | ||
exit 1 | ||
fi | ||
|
||
scp ./../Linux/Release/deploy/$AppVersionStr$DevPostfix/tlinux32upd$AppVersion tmaster:tdesktop/www/tlinux32/ | ||
scp ./../Linux/Release/deploy/$AppVersionStr$DevPostfix/tsetup32.$AppVersionStr$DevPostfix.tar.xz tmaster:tdesktop/www/tlinux32/ | ||
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/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,65 @@ | ||
AppVersion=`./Version.sh | awk -F " " '{print $1}'` | ||
AppVersionStr=`./Version.sh | awk -F " " '{print $2}'` | ||
DevChannel=`./Version.sh | awk -F " " '{print $3}'` | ||
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 "./../Mac/Release/deploy/$AppVersionStr$DevPostfix/tmacupd$AppVersion" ]; then | ||
echo "tmacupd$AppVersion not found!" | ||
exit 1 | ||
if [ ! -f "./../Mac/Release/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tmacupd$AppVersion" ]; then | ||
echo "tmacupd$AppVersion not found!" | ||
exit 1 | ||
fi | ||
|
||
if [ ! -f "./../Mac/Release/deploy/$AppVersionStr$DevPostfix/tsetup.$AppVersionStr$DevPostfix.dmg" ]; then | ||
echo "tsetup.$AppVersionStr$DevPostfix.dmg not found!" | ||
exit 1 | ||
if [ ! -f "./../Mac/Release/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tsetup.$AppVersionStr$DevPostfix.dmg" ]; then | ||
echo "tsetup.$AppVersionStr$DevPostfix.dmg not found!" | ||
exit 1 | ||
fi | ||
|
||
if [ ! -f "./../../tother/tsetup/tupdate$AppVersion" ]; then | ||
echo "tupdate$AppVersion not found!" | ||
exit 1 | ||
if [ ! -f "./../../tother/tmac32/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tmac32upd$AppVersion" ]; then | ||
echo "tmac32upd$AppVersion not found!" | ||
exit 1 | ||
fi | ||
|
||
if [ ! -f "./../../tother/tsetup/tportable.$AppVersionStr$DevPostfix.zip" ]; then | ||
echo "tportable.$AppVersionStr$DevPostfix.zip not found!" | ||
exit 1 | ||
if [ ! -f "./../../tother/tmac32/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tsetup32.$AppVersionStr$DevPostfix.dmg" ]; then | ||
echo "tsetup32.$AppVersionStr$DevPostfix.dmg not found!" | ||
exit 1 | ||
fi | ||
|
||
if [ ! -f "./../../tother/tsetup/tsetup.$AppVersionStr$DevPostfix.exe" ]; then | ||
echo "tsetup.$AppVersionStr$DevPostfix.exe not found!" | ||
exit 1 | ||
if [ ! -f "./../../tother/tsetup/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tupdate$AppVersion" ]; then | ||
echo "tupdate$AppVersion not found!" | ||
exit 1 | ||
fi | ||
|
||
scp ./../Mac/Release/deploy/$AppVersionStr$DevPostfix/tmacupd$AppVersion tmaster:tdesktop/www/tmac/ | ||
scp ./../Mac/Release/deploy/$AppVersionStr$DevPostfix/tsetup.$AppVersionStr$DevPostfix.dmg tmaster:tdesktop/www/tmac/ | ||
scp ./../../tother/tsetup/tupdate$AppVersion tmaster:tdesktop/www/tsetup/ | ||
scp ./../../tother/tsetup/tportable.$AppVersionStr$DevPostfix.zip tmaster:tdesktop/www/tsetup/ | ||
scp ./../../tother/tsetup/tsetup.$AppVersionStr$DevPostfix.exe tmaster:tdesktop/www/tsetup/ | ||
if [ ! -f "./../../tother/tsetup/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tportable.$AppVersionStr$DevPostfix.zip" ]; then | ||
echo "tportable.$AppVersionStr$DevPostfix.zip not found!" | ||
exit 1 | ||
fi | ||
|
||
if [ ! -f "./../../tother/tsetup/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tsetup.$AppVersionStr$DevPostfix.exe" ]; then | ||
echo "tsetup.$AppVersionStr$DevPostfix.exe not found!" | ||
exit 1 | ||
fi | ||
|
||
if [ ! -d "./../../../Dropbox/Telegram/deploy/$AppVersionStrMajor" ]; then | ||
mkdir "./../../../Dropbox/Telegram/deploy/$AppVersionStrMajor" | ||
fi | ||
|
||
scp ./../Mac/Release/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tmacupd$AppVersion tmaster:tdesktop/www/tmac/ | ||
scp ./../Mac/Release/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tsetup.$AppVersionStr$DevPostfix.dmg tmaster:tdesktop/www/tmac/ | ||
scp ./../../tother/tmac32/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tmac32upd$AppVersion tmaster:tdesktop/www/tmac32/ | ||
scp ./../../tother/tmac32/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tsetup32.$AppVersionStr$DevPostfix.dmg tmaster:tdesktop/www/tmac32/ | ||
scp ./../../tother/tsetup/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tupdate$AppVersion tmaster:tdesktop/www/tsetup/ | ||
scp ./../../tother/tsetup/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tportable.$AppVersionStr$DevPostfix.zip tmaster:tdesktop/www/tsetup/ | ||
scp ./../../tother/tsetup/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tsetup.$AppVersionStr$DevPostfix.exe tmaster:tdesktop/www/tsetup/ | ||
|
||
mv -v ./../../tother/tsetup/$AppVersionStrMajor/$AppVersionStr$DevPostfix ./../../../Dropbox/Telegram/deploy/$AppVersionStrMajor/ | ||
|
||
cp -v ./../Mac/Release/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tmacupd$AppVersion ./../../../Dropbox/Telegram/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/ | ||
cp -v ./../Mac/Release/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tsetup.$AppVersionStr$DevPostfix.dmg ./../../../Dropbox/Telegram/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/ | ||
cp -rv ./../Mac/Release/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/Telegram.app.dSYM ./../../../Dropbox/Telegram/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/ | ||
cp -v ./../../tother/tmac32/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tmac32upd$AppVersion ./../../../Dropbox/Telegram/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/ | ||
cp -v ./../../tother/tmac32/$AppVersionStrMajor/$AppVersionStr$DevPostfix/tsetup32.$AppVersionStr$DevPostfix.dmg ./../../../Dropbox/Telegram/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/ | ||
cp -rv ./../../tother/tmac32/$AppVersionStrMajor/$AppVersionStr$DevPostfix/Telegram.app.dSYM ./../../../Dropbox/Telegram/deploy/$AppVersionStrMajor/$AppVersionStr$DevPostfix/Telegram32.app.dSYM | ||
|
Oops, something went wrong.