% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9230 100 9230 0 0 35338 0 --:--:-- --:--:-- --:--:-- 35500 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 35147 100 35147 0 0 253k 0 --:--:-- --:--:-- --:--:-- 256k compressed data: 6913024 to 3007752 Successfully packaged file compressed data: 6504960 to 2757626 Successfully packaged file compressed data: 7552640 to 3267065 Successfully packaged file Done packaging update files Done packing Linux version Done packing Windows versions Done moving files to web directory Errors and uncaught output from package.sh: set -e + set -e success=0 + success=0 on_exit() { if [[ $success -eq 0 ]]; then outputFolder="https://starcatcher.us/TPT/$webDirectory/Output" if [[ $vanillaRelease -eq 1 ]]; then outputFolder="https://starcatcher.us/TPT/$webDirectory/" fi echo "msg #powder-dev Package script failed, details at $outputFolder" | $packDirectory/nc.exe -w 1 localhost 9876 fi } trap on_exit 0 + trap on_exit 0 pushd `dirname $0` >/dev/null ++ dirname 'C:\Starcatcher\Github-Action-Releases\updatepackager\package.sh' + pushd 'C:\Starcatcher\Github-Action-Releases\updatepackager' packDirectory=$PWD + packDirectory=/c/Starcatcher/Github-Action-Releases/updatepackager workingDirectory=$1 + workingDirectory=D:/TPT-releases/official/ releaseType=$2 + releaseType=stable packageName=$3 + packageName=powder webDirectory=$4 + webDirectory=buildserver/build-393 githubUrl=$5 + githubUrl=The-Powder-Toy/The-Powder-Toy githubBranch=$6 + githubBranch=master versionNum=$7 + versionNum=99.4 buildId=$8 + buildId=393 commitSha=$9 + commitSha=fcc4503f6d428483c4061c1532ebf038953b78a5 win64=${10} + win64=powder-v99.4.393-x86_64-win-msvc-static.exe win32=${11} + win32=powder-v99.4.393-i686-win-msvc-static.exe winArm=${12} + winArm=powder-v99.4.393-arm64-win-msvc-static.exe mac=${13} + mac=powder-v99.4.393-x86_64-mac-gcc-static.dmg macArm=${14} + macArm=powder-v99.4.393-arm64-mac-gcc-static.dmg lin64=${15} + lin64=powder-v99.4.393-x86_64-lin-gcc-static wasm=${16} + wasm=powder-v99.4.393-wasm32-ems-static.tar if [[ $packageName == "powder" || $packageName == "powder-beta" ]]; then vanillaRelease=1 else vanillaRelease=0 fi + [[ powder == \p\o\w\d\e\r ]] + vanillaRelease=1 if [[ $releaseType == "snapshot" ]]; then fullVersionNum="Snapshot $buildId" else fullVersionNum="$versionNum (build $buildId)" fi + [[ stable == \s\n\a\p\s\h\o\t ]] + fullVersionNum='99.4 (build 393)' if [[ ! -d $workingDirectory ]]; then echo "Working directory does not exist" exit 1 fi + [[ ! -d D:/TPT-releases/official/ ]] if [[ ! -d /c/StarHTTP/TPT/$webDirectory ]]; then if [[ $vanillaRelease -eq 1 ]]; then # Vanilla releases use a different folder per build id, create it automatically mkdir /c/StarHTTP/TPT/"$webDirectory" else echo "Web directory does not exist" exit 1 fi fi + [[ ! -d /c/StarHTTP/TPT/buildserver/build-393 ]] + [[ 1 -eq 1 ]] + mkdir /c/StarHTTP/TPT/buildserver/build-393 pushd $workingDirectory >/dev/null + pushd D:/TPT-releases/official/ steamBuilder="/c/Starcatcher/Github-Action-Releases/Steamworks/tools/ContentBuilder/builder/steamcmd.exe" + steamBuilder=/c/Starcatcher/Github-Action-Releases/Steamworks/tools/ContentBuilder/builder/steamcmd.exe steamScriptsDir="/c/Starcatcher/Github-Action-Releases/Steamworks/tools/ContentBuilder/scripts" + steamScriptsDir=/c/Starcatcher/Github-Action-Releases/Steamworks/tools/ContentBuilder/scripts steamContentDir="/c/Starcatcher/Github-Action-Releases/Steamworks/tools/ContentBuilder/content" + steamContentDir=/c/Starcatcher/Github-Action-Releases/Steamworks/tools/ContentBuilder/content steamScriptTemplate="powdertoy - template.vdf" + steamScriptTemplate='powdertoy - template.vdf' steamScript="powdertoy.vdf" + steamScript=powdertoy.vdf if [[ $releaseType == "steam" ]]; then # Update description in template sed "s/\$Desc/Automated upload for $fullVersionNum/" "$steamScriptsDir/$steamScriptTemplate" >"$steamScriptsDir/$steamScript" rm -rf "$steamContentDir"/*/* fi + [[ stable == \s\t\e\a\m ]] has_win32=0 + has_win32=0 if [[ -f "$win32" ]]; then has_win32=1 fi + [[ -f powder-v99.4.393-i686-win-msvc-static.exe ]] + has_win32=1 has_win_arm=0 + has_win_arm=0 if [[ -f "$winArm" ]]; then has_win_arm=1 fi + [[ -f powder-v99.4.393-arm64-win-msvc-static.exe ]] has_mac_arm=0 + has_mac_arm=0 if [[ -f "$macArm" ]]; then has_mac_arm=1 fi + [[ -f powder-v99.4.393-arm64-mac-gcc-static.dmg ]] + has_mac_arm=1 # Check for wasm, if unsupported type then delete it has_wasm=0 + has_wasm=0 if [[ -f "$wasm" && ( $releaseType == "snapshot" || $vanillaRelease -eq 1 ) ]]; then has_wasm=1 else rm -f $wasm fi + [[ -f powder-v99.4.393-wasm32-ems-static.tar ]] + [[ stable == \s\n\a\p\s\h\o\t ]] + [[ 1 -eq 1 ]] + has_wasm=1 # Android builds not supported right now rm -f *.apk + rm -f powder-v99.4.393-arm-and-gcc-static.apk powder-v99.4.393-i686-and-gcc-static.apk powder-v99.4.393-x86_64-and-gcc-static.apk mkdir -p binaryArchive + mkdir -p binaryArchive /usr/bin/find binaryArchive -mtime +1 -type f -delete + /usr/bin/find binaryArchive -mtime +1 -type f -delete cp -f $win64 $mac $lin64 binaryArchive + cp -f powder-v99.4.393-x86_64-win-msvc-static.exe powder-v99.4.393-x86_64-mac-gcc-static.dmg powder-v99.4.393-x86_64-lin-gcc-static binaryArchive if [[ $has_win32 -eq 1 ]]; then cp -f $win32 binaryArchive fi + [[ 1 -eq 1 ]] + cp -f powder-v99.4.393-i686-win-msvc-static.exe binaryArchive if [[ $has_win_arm -eq 1 ]]; then cp -f $winArm binaryArchive fi + [[ 0 -eq 1 ]] if [[ $has_mac_arm -eq 1 ]]; then cp -f $macArm binaryArchive fi + [[ 1 -eq 1 ]] + cp -f powder-v99.4.393-arm64-mac-gcc-static.dmg binaryArchive if [[ $has_wasm -eq 1 ]]; then cp -f $wasm binaryArchive fi + [[ 1 -eq 1 ]] + cp -f powder-v99.4.393-wasm32-ems-static.tar binaryArchive curl -f https://raw.githubusercontent.com/$githubUrl/$githubBranch/README.md -o README.md 2>>package-output.txt + curl -f https://raw.githubusercontent.com/The-Powder-Toy/The-Powder-Toy/master/README.md -o README.md curl -f https://raw.githubusercontent.com/$githubUrl/$githubBranch/LICENSE -o LICENSE 2>>package-output.txt + curl -f https://raw.githubusercontent.com/The-Powder-Toy/The-Powder-Toy/master/LICENSE -o LICENSE # Download or generate changelog.txt if [[ $releaseType == "stable" || $releaseType == "beta" ]]; then if [[ ! $vanillaRelease -eq 1 ]]; then if [[ -f changelog.txt ]]; then mv changelog.txt changelog-old.txt fi curl -f https://raw.githubusercontent.com/$githubUrl/$githubBranch/changelog.txt -o changelog.txt 2>>package-output.txt if [[ -f changelog-old.txt ]]; then if diff -q changelog.txt changelog-old.txt >/dev/null; then echo "Please update changelog.txt before releasing a build on the Starcatcher update server." rm changelog-old.txt exit 1 fi rm changelog-old.txt fi fi elif [[ $releaseType == "snapshot" ]]; then # Snapshots curl -f https://api.github.com/repos/The-Powder-Toy/The-Powder-Toy/commits >commits.json 2>>package-output.txt python $packDirectory/parsecommits.py $(cat /c/StarHTTP/TPT/"$webDirectory"/Output/latest_commit.log) rm commits.json elif [[ $releaseType == "steam" ]]; then echo "Steam release (skipping changelog step)" else echo "Only stable and snapshot release types supported" exit 1 fi + [[ stable == \s\t\a\b\l\e ]] + [[ ! 1 -eq 1 ]] # Package files for usage in-game $packDirectory/packager.exe "$win64" WIN64.ptu >>package-output.txt + /c/Starcatcher/Github-Action-Releases/updatepackager/packager.exe powder-v99.4.393-x86_64-win-msvc-static.exe WIN64.ptu if [[ $has_win32 -eq 1 ]]; then $packDirectory/packager.exe "$win32" WIN32.ptu >>package-output.txt fi + [[ 1 -eq 1 ]] + /c/Starcatcher/Github-Action-Releases/updatepackager/packager.exe powder-v99.4.393-i686-win-msvc-static.exe WIN32.ptu if [[ $has_win_arm -eq 1 ]]; then $packDirectory/packager.exe "$winArm" WINARM.ptu >>package-output.txt fi + [[ 0 -eq 1 ]] #$packDirectory/packager.exe "$mac" MACOS.ptu >>package-output.txt #if [[ $has_mac_arm -eq 1 ]]; then # $packDirectory/packager.exe "$macArm" MACOSARM.ptu >>package-output.txt #fi $packDirectory/packager.exe "$lin64" LIN64.ptu >>package-output.txt + /c/Starcatcher/Github-Action-Releases/updatepackager/packager.exe powder-v99.4.393-x86_64-lin-gcc-static LIN64.ptu echo "Done packaging update files" >>package-output.txt + echo 'Done packaging update files' # Linux 64 bit mv "$lin64" powder + mv powder-v99.4.393-x86_64-lin-gcc-static powder python $packDirectory/zip.py "$packageName" linux64 + python /c/Starcatcher/Github-Action-Releases/updatepackager/zip.py powder linux64 if [[ $releaseType == "steam" ]]; then cp powder README.md LICENSE "$steamContentDir"/lin64/ fi + [[ stable == \s\t\e\a\m ]] rm powder + rm powder echo "Done packing Linux version" >>package-output.txt + echo 'Done packing Linux version' # Mac OS macAppFolderIn= + macAppFolderIn= macAppFolder= + macAppFolder= if [[ $packageName == "Snapshot" ]]; then macAppFolderIn="Powder Snapshot.app" macAppFolderOut=$macAppFolderIn macAppFolderM1Out="Powder Snapshot M1.app" macDmgOut="Snapshot.dmg" macDmgM1Out="Snapshot M1.dmg" elif [[ $packageName == "powder" ]]; then macAppFolderIn=Powder.app macAppFolderOut=$macAppFolderIn macAppFolderM1Out="Powder M1.app" macDmgOut="Powder.dmg" macDmgM1Out="Powder M1.dmg" else macAppFolderIn="Powder mods.app" macAppFolderOut="$packageName.app" macAppFolderM1Out="$packageName M1.app" macDmgOut="$packageName.dmg" macDmgM1Out="$packageName M1.dmg" fi + [[ powder == \S\n\a\p\s\h\o\t ]] + [[ powder == \p\o\w\d\e\r ]] + macAppFolderIn=Powder.app + macAppFolderOut=Powder.app + macAppFolderM1Out='Powder M1.app' + macDmgOut=Powder.dmg + macDmgM1Out='Powder M1.dmg' test -d $packDirectory/"$macAppFolderIn" + test -d /c/Starcatcher/Github-Action-Releases/updatepackager/Powder.app pack_mac() { local filename=$1 local appFolderIn=$2 local appFolderOut=$3 local dmgOut=$4 mv "$filename" powder-x #$packDirectory/rcodesign sign --pem-source $packDirectory/macsigningkey.crt --code-signature-flags runtime --team-name "The Powder Toy" powder-x mkdir MacDMG cp -r $packDirectory/"$appFolderIn" MacDMG/"$appFolderOut" cp powder-x MacDMG/"$appFolderOut"/Contents/MacOS cp README.md MacDMG cp LICENSE MacDMG sed -i -e "s/MAJOR_VERSION/$versionNum/" MacDMG/"$appFolderOut"/Contents/Info.plist sed -i -e "s/FULL_VERSION/$fullVersionNum/" MacDMG/"$appFolderOut"/Contents/Info.plist #$packDirectory/rcodesign sign --pem-source $packDirectory/macsigningkey.crt --code-signature-flags runtime --team-name "The Powder Toy" MacDMG/"$appFolderOut"/ #/c/Starcatcher/Ubuntu2/ubuntu2004.exe run genisoimage -D -V "The-Powder-Toy Snapshots" -no-pad -r -apple -o powder-osx-uncompressed.dmg "MacDMG" >/d/test22.txt 2>&1 #/c/Starcatcher/Ubuntu2/ubuntu2004.exe run dmg dmg powder-osx-uncompressed.dmg Snapshot.dmg >/d/test3.txt 2>&1 echo "dmg $appFolderOut $workingDirectory $dmgOut" | $packDirectory/nc.exe -w 5 localhost 9876 >>package-output.txt rm -r MacDMG powder-osx-uncompressed.dmg powder-x #$packDirectory/rcodesign sign --pem-source $packDirectory/macsigningkey.crt --code-signature-flags runtime --team-name "The Powder Toy" "$dmgOut" #$packDirectory/rcodesign notarize --api-issuer 68911d4c-110c-4172-b9f7-b7efa30f9680 --api-key DEADBEEF "$dmgOut" } if [[ "$mac" == *.dmg ]]; then mv "$mac" "$macDmgOut" if [[ $has_mac_arm -eq 1 ]]; then mv "$macArm" "$macDmgM1Out" fi else pack_mac "$mac" "$macAppFolderIn" "$macAppFolderOut" "$macDmgOut" if [[ $has_mac_arm -eq 1 ]]; then pack_mac "$macArm" "$macAppFolderIn" "$macAppFolderM1Out" "$macDmgM1Out" fi fi + [[ powder-v99.4.393-x86_64-mac-gcc-static.dmg == *.dmg ]] + mv powder-v99.4.393-x86_64-mac-gcc-static.dmg Powder.dmg + [[ 1 -eq 1 ]] + mv powder-v99.4.393-arm64-mac-gcc-static.dmg 'Powder M1.dmg' if [[ $releaseType == "steam" ]]; then # Re-extract from dmg, for now ... (extremely quick lazy hack) /c/Program\ Files/7-Zip/7z.exe x "$macDmgOut" # Remove "Beta" naming if [[ -d "The Powder Toy Beta" ]]; then mv "The Powder Toy Beta/The Powder Toy Beta.app" "The Powder Toy.app" rm -r "The Powder Toy Beta" mv "The Powder Toy.app/Contents/MacOS/powderbeta" "The Powder Toy.app/Contents/MacOS/powder" elif [[ -d "The Powder Toy Snapshot" ]]; then mv "The Powder Toy Snapshot/The Powder Toy Snapshot.app" "The Powder Toy.app" rm -r "The Powder Toy Snapshot" mv "The Powder Toy.app/Contents/MacOS/powdersnapshot" "The Powder Toy.app/Contents/MacOS/powder" else mv "The Powder Toy/The Powder Toy.app" "The Powder Toy.app" rm -r "The Powder Toy" fi mv "The Powder Toy.app" "$steamContentDir"/mac64/ cp README.md LICENSE "$steamContentDir"/mac64/ fi + [[ stable == \s\t\e\a\m ]] # Windows 64 and 32 bit mv README.md readme.txt + mv README.md readme.txt mv LICENSE license.txt + mv LICENSE license.txt mv "$win64" Powder.exe + mv powder-v99.4.393-x86_64-win-msvc-static.exe Powder.exe python $packDirectory/zip.py "$packageName" win64 + python /c/Starcatcher/Github-Action-Releases/updatepackager/zip.py powder win64 if [[ $has_win32 -eq 1 ]]; then mv "$win32" Powder32.exe python $packDirectory/zip.py "$packageName" win32 rm Powder32.exe fi + [[ 1 -eq 1 ]] + mv powder-v99.4.393-i686-win-msvc-static.exe Powder32.exe + python /c/Starcatcher/Github-Action-Releases/updatepackager/zip.py powder win32 + rm Powder32.exe if [[ $has_win_arm -eq 1 ]]; then mv "$winArm" "Powder arm64.exe" python $packDirectory/zip.py "$packageName" winArm64 rm "Powder arm64.exe" fi + [[ 0 -eq 1 ]] if [[ $releaseType == "steam" ]]; then cp Powder.exe readme.txt license.txt "$steamContentDir"/win64/ fi + [[ stable == \s\t\e\a\m ]] rm Powder.exe readme.txt license.txt + rm Powder.exe readme.txt license.txt echo "Done packing Windows versions" >>package-output.txt + echo 'Done packing Windows versions' # Move files into appropriate directories on server # Note: This relies on Window's case-insensitive filenames for official releases mv WIN64.ptu LIN64.ptu /c/StarHTTP/TPT/"$webDirectory" + mv WIN64.ptu LIN64.ptu /c/StarHTTP/TPT/buildserver/build-393 if [[ ! $vanillaRelease -eq 1 ]]; then # For everything but vanilla releases, copy into Output/ and Older/ folders cp "$packageName.zip" "/c/StarHTTP/TPT/$webDirectory/Older/$packageName $buildId.zip" cp "$packageName.dmg" "/c/StarHTTP/TPT/$webDirectory/Older/$packageName $buildId.dmg" cp "$packageName linux64.zip" "/c/StarHTTP/TPT/$webDirectory/Older/$packageName $buildId linux64.zip" fi + [[ ! 1 -eq 1 ]] mv "$packageName.zip" "$packageName.dmg" "$packageName linux64.zip" /c/StarHTTP/TPT/"$webDirectory" + mv powder.zip powder.dmg 'powder linux64.zip' /c/StarHTTP/TPT/buildserver/build-393 if [[ $has_win32 -eq 1 ]]; then echo "Moving win32 files" mv WIN32.ptu /c/StarHTTP/TPT/"$webDirectory" if [[ ! $vanillaRelease -eq 1 ]]; then cp "$packageName win32.zip" "/c/StarHTTP/TPT/$webDirectory/Older/$packageName $buildId win32.zip" fi mv "$packageName win32.zip" /c/StarHTTP/TPT/"$webDirectory" fi + [[ 1 -eq 1 ]] + echo 'Moving win32 files' Moving win32 files + mv WIN32.ptu /c/StarHTTP/TPT/buildserver/build-393 + [[ ! 1 -eq 1 ]] + mv 'powder win32.zip' /c/StarHTTP/TPT/buildserver/build-393 if [[ $has_win_arm -eq 1 ]]; then echo "Moving win arm files" mv WINARM.ptu /c/StarHTTP/TPT/"$webDirectory" if [[ ! $vanillaRelease -eq 1 ]]; then cp "$packageName winArm64.zip" "/c/StarHTTP/TPT/$webDirectory/Older/$packageName $buildId winArm64.zip" fi mv "$packageName winArm64.zip" /c/StarHTTP/TPT/"$webDirectory" fi + [[ 0 -eq 1 ]] if [[ $has_mac_arm -eq 1 ]]; then echo "Moving MacOS M1 files" #mv MACOSARM.ptu /c/StarHTTP/TPT/"$webDirectory" if [[ ! $vanillaRelease -eq 1 ]]; then cp "$packageName M1.dmg" "/c/StarHTTP/TPT/$webDirectory/Older/$packageName $buildId M1.dmg" fi mv "$packageName M1.dmg" /c/StarHTTP/TPT/"$webDirectory" fi + [[ 1 -eq 1 ]] + echo 'Moving MacOS M1 files' Moving MacOS M1 files + [[ ! 1 -eq 1 ]] + mv 'powder M1.dmg' /c/StarHTTP/TPT/buildserver/build-393 if [[ $has_wasm -eq 1 ]]; then #if [[ $releaseType == "snapshot" ]]; then # tar -xf $wasm -C /c/Starcatcher/TPT-Website/wasm # mv /c/Starcatcher/TPT-Website/wasm/powdersnapshot.js /c/Starcatcher/TPT-Website/wasm/powder.js # mv /c/Starcatcher/TPT-Website/wasm/powdersnapshot.wasm /c/Starcatcher/TPT-Website/wasm/powder.wasm # mv /c/Starcatcher/TPT-Website/wasm/powdersnapshot.worker.js /c/Starcatcher/TPT-Website/wasm/powder.worker.js #fi if [[ ! $vanillaRelease -eq 1 ]]; then cp $wasm /c/StarHTTP/TPT/"$webDirectory"/Older/"$packageName $buildId wasm.tar" fi mv $wasm /c/StarHTTP/TPT/"$webDirectory"/"$packageName $buildId wasm.tar" fi + [[ 1 -eq 1 ]] + [[ ! 1 -eq 1 ]] + mv powder-v99.4.393-wasm32-ems-static.tar '/c/StarHTTP/TPT/buildserver/build-393/powder 393 wasm.tar' echo "Done moving files to web directory" >>package-output.txt + echo 'Done moving files to web directory' # Update changelogs if [[ ! $vanillaRelease -eq 1 ]]; then echo $commitSha > /c/StarHTTP/TPT/"$webDirectory"/Output/latest_commit.log cat changelog.txt | grep -ve "^#" | grep -ve "^[[:space:]]*$" | sed -e "s/^/$buildId\t/" >>/c/StarHTTP/TPT/"$webDirectory"/WIN64.info cat changelog.txt | grep -ve "^#" | grep -ve "^[[:space:]]*$" | sed -e "s/^/$buildId\t/" >>/c/StarHTTP/TPT/"$webDirectory"/WIN32.info cat changelog.txt | grep -ve "^#" | grep -ve "^[[:space:]]*$" | sed -e "s/^/$buildId\t/" >>/c/StarHTTP/TPT/"$webDirectory"/MACOS.info cat changelog.txt | grep -ve "^#" | grep -ve "^[[:space:]]*$" | sed -e "s/^/$buildId\t/" >>/c/StarHTTP/TPT/"$webDirectory"/MACOSARM.info cat changelog.txt | grep -ve "^#" | grep -ve "^[[:space:]]*$" | sed -e "s/^/$buildId\t/" >>/c/StarHTTP/TPT/"$webDirectory"/LIN64.info echo "Done updating changelogs" >>package-output.txt if [[ $releaseType == "snapshot" ]]; then rm changelog.txt fi fi + [[ ! 1 -eq 1 ]] echo "Archiving source code" + echo 'Archiving source code' Archiving source code curl --ssl-no-revoke -fL https://github.com/$githubUrl/archive/refs/heads/$githubBranch.zip -o /c/StarHTTP/TPT/"$webDirectory"/"$packageName-src.zip" + curl --ssl-no-revoke -fL https://github.com/The-Powder-Toy/The-Powder-Toy/archive/refs/heads/master.zip -o /c/StarHTTP/TPT/buildserver/build-393/powder-src.zip % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1251k 0 1251k 0 0 2578k 0 --:--:-- --:--:-- --:--:-- 2578k if [[ ! $vanillaRelease -eq 1 ]]; then cp /c/StarHTTP/TPT/"$webDirectory"/"$packageName-src.zip" /c/StarHTTP/TPT/"$webDirectory"/Older/"$packageName $buildId-src.zip" fi + [[ ! 1 -eq 1 ]] echo "Source code archived" + echo 'Source code archived' Source code archived if [[ $releaseType == "steam" ]]; then echo "Trying Steam release" "$steamBuilder" +login PowderToySteamworks +run_app_build "$steamScriptsDir/$steamScript" +quit echo "Steam release complete" fi + [[ stable == \s\t\e\a\m ]] success=1 + success=1 echo "Release complete" + echo 'Release complete' Release complete if [[ $vanillaRelease -eq 1 ]]; then echo "msg #powder-dev $fullVersionNum finished packaging" | $packDirectory/nc.exe -w 1 localhost 9876 elif [[ $releaseType == "snapshot" ]]; then echo "msg #powder-dev $fullVersionNum released!" | $packDirectory/nc.exe -w 1 localhost 9876 else echo "msg #powder-dev $packageName $fullVersionNum released!" | $packDirectory/nc.exe -w 1 localhost 9876 fi + [[ 1 -eq 1 ]] + echo 'msg #powder-dev 99.4 (build 393) finished packaging' + /c/Starcatcher/Github-Action-Releases/updatepackager/nc.exe -w 1 localhost 9876 exit 0 + exit 0 on_exit + on_exit + [[ 1 -eq 0 ]]