mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-01 12:44:31 +00:00
Upload a separate macOS ARM update.
This commit is contained in:
parent
766b393295
commit
090277d7a1
@ -78,6 +78,7 @@ else
|
||||
fi
|
||||
MacDeployPath="$BackupPath/$AppVersionStrMajor/$AppVersionStrFull/tmac"
|
||||
MacUpdateFile="tmacupd$AppVersion"
|
||||
ARMacUpdateFile="tarmacupd$AppVersion"
|
||||
MacSetupFile="tsetup.$AppVersionStrFull.dmg"
|
||||
MacRemoteFolder="tmac"
|
||||
WinDeployPath="$BackupPath/$AppVersionStrMajor/$AppVersionStrFull/tsetup"
|
||||
@ -115,6 +116,7 @@ if [ "$AlphaVersion" != "0" ]; then
|
||||
done < "$AlphaFilePath"
|
||||
|
||||
MacUpdateFile="${MacUpdateFile}_${AlphaSignature}"
|
||||
ARMacUpdateFile="${ARMacUpdateFile}_${AlphaSignature}"
|
||||
MacSetupFile="talpha${AlphaVersion}_${AlphaSignature}.zip"
|
||||
WinUpdateFile="${WinUpdateFile}_${AlphaSignature}"
|
||||
WinPortableFile="talpha${AlphaVersion}_${AlphaSignature}.zip"
|
||||
@ -128,6 +130,9 @@ if [ "$DeployMac" == "1" ]; then
|
||||
if [ ! -f "$MacDeployPath/$MacUpdateFile" ]; then
|
||||
Error "$MacDeployPath/$MacUpdateFile not found!";
|
||||
fi
|
||||
if [ ! -f "$MacDeployPath/$ARMacUpdateFile" ]; then
|
||||
Error "$MacDeployPath/$ARMacUpdateFile not found!";
|
||||
fi
|
||||
if [ ! -f "$MacDeployPath/$MacSetupFile" ]; then
|
||||
Error "$MacDeployPath/$MacSetupFile not found!"
|
||||
fi
|
||||
@ -171,7 +176,7 @@ $FullScriptPath/../../../DesktopPrivate/mount.sh
|
||||
|
||||
declare -a Files
|
||||
if [ "$DeployMac" == "1" ]; then
|
||||
Files+=("tmac/$MacUpdateFile" "tmac/$MacSetupFile")
|
||||
Files+=("tmac/$MacUpdateFile" "tmac/$ARMacUpdateFile" "tmac/$MacSetupFile")
|
||||
fi
|
||||
if [ "$DeployWin" == "1" ]; then
|
||||
Files+=("tsetup/$WinUpdateFile" "tsetup/$WinPortableFile")
|
||||
|
Loading…
Reference in New Issue
Block a user