Update client Macs before the server and keep a copy of each deploy
This commit is contained in:
+4
-2
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user