This commit is contained in:
John Preston 2015-12-04 12:47:06 +03:00
commit 7f47fba37d

View File

@ -7,9 +7,9 @@ done < Version
if [ "$BetaVersion" != "0" ]; then
AppVersion="$BetaVersion"
AppVersionStrFull="$AppVersionStr_$BetaVersion"
AppVersionStrFull="${AppVersionStr}_${BetaVersion}"
DevParam="-beta $BetaVersion"
BetaKeyFile="tbeta_$AppVersion_key"
BetaKeyFile="tbeta_${AppVersion}_key"
elif [ "$DevChannel" == "0" ]; then
AppVersionStrFull="$AppVersionStr"
DevParam=''
@ -72,15 +72,15 @@ if [ "$BetaVersion" != "0" ]; then
BetaSignature="$line"
done < "$DeployPath/$BetaKeyFile"
UpdateFile="$UpdateFile_$BetaSignature"
UpdateFile="${UpdateFile}_${BetaSignature}"
if [ "$BuildTarget" == "linux" ] || [ "$BuildTarget" == "linux32" ]; then
SetupFile="tbeta$BetaVersion_$BetaSignature.tar.xz"
SetupFile="tbeta${BetaVersion}_${BetaSignature}.tar.xz"
elif [ "$BuildTarget" == "mac" ]; then
SetupFile="tbeta$BetaVersion_$BetaSignature.zip"
Mac32UpdateFile="$Mac32UpdateFile_$BetaSignature"
Mac32SetupFile="tbeta$BetaVersion_$BetaSignature.zip"
WinUpdateFile="$WinUpdateFile_$BetaSignature"
WinPortableFile="tbeta$BetaVersion_$BetaSignature.zip"
SetupFile="tbeta${BetaVersion}_${BetaSignature}.zip"
Mac32UpdateFile="${Mac32UpdateFile}_${BetaSignature}"
Mac32SetupFile="tbeta${BetaVersion}_${BetaSignature}.zip"
WinUpdateFile="${WinUpdateFile}_${BetaSignature}"
WinPortableFile="tbeta${BetaVersion}_${BetaSignature}.zip"
fi
fi