From 5f0960bfee06722d26bbe207184abe6c82d938c0 Mon Sep 17 00:00:00 2001 From: Nick Cipollo Date: Thu, 17 Oct 2024 15:17:34 -0400 Subject: [PATCH] Update release script to fail fast (hopefully) --- .gitignore | 1 + create_xcframework.sh | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 0d02a4c..2240046 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ xcuserdata/ DerivedData/ .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata +WhoopDIKit.sha256 xcframeworks/ diff --git a/create_xcframework.sh b/create_xcframework.sh index e1d30cf..cf30695 100755 --- a/create_xcframework.sh +++ b/create_xcframework.sh @@ -1,3 +1,5 @@ +set -e + xcodebuild archive -project WhoopDIKit/WhoopDIKit.xcodeproj -scheme WhoopDIKit -destination "generic/platform=iOS" -archivePath "archives/WhoopDIKit-ios.xcarchive" xcodebuild archive -project WhoopDIKit/WhoopDIKit.xcodeproj -scheme WhoopDIKit -destination "generic/platform=iOS Simulator" -archivePath "archives/WhoopDIKit-iosSimulator.xcarchive"