Update client Macs before the server and keep a copy of each deploy

This commit is contained in:
Ian Gulliver
2026-10-22 08:17:33 -07:00
parent 519199eba4
commit 6b09ffb362
3 changed files with 15 additions and 14 deletions
+4 -2
View File
@@ -7,5 +7,7 @@ mac=$(cd "$(dirname "$0")" && pwd)
rm -rf "$mac/.build/phone/iphoneos/export"
xcodebuild -exportArchive -archivePath "$mac/.build/phone/iphoneos/Byre.xcarchive" -exportOptionsPlist "$mac/phone/export.plist" -exportPath "$mac/.build/phone/iphoneos/export" -allowProvisioningUpdates
version=$(plutil -extract CFBundleShortVersionString raw "$mac/.build/Byre.app/Contents/Info.plist")
dmg=$mac/.build/release/$version/byre-$version.dmg
"$mac/install.sh" "$dmg"
mkdir -p "$HOME/byre-deploy"
cp "$mac/.build/release/$version/byre-$version.dmg" "$HOME/byre-deploy/byre.dmg"
cp "$mac/install.sh" "$HOME/byre-deploy/install.sh"
echo "$HOME/byre-deploy/byre.dmg"