Skip to content

Commit

Permalink
Tweak build/release process
Browse files Browse the repository at this point in the history
  • Loading branch information
bsneed committed Nov 29, 2023
1 parent 3747f96 commit 31b6f77
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,6 @@ iOSInjectionProject/
Package.resolved
*.xcuserdatad
/.swiftpm/xcode/xcshareddata
*.XCFramework
*.XCFramework
*.sha256
*.zip
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ rm JSONSafeEncoder.sha256

echo "Building XCFrameworks ..."

swift create-xcframework --clean --platform ios --platform macos --platform maccatalyst --platform tvos --platform watchos --stack-evolution
swift create-xcframework --clean --platform ios --platform macos --platform maccatalyst --platform tvos --platform watchos --stack-evolution --zip

echo "Done."
3 changes: 2 additions & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,5 @@ rm $tempFile
./build.sh

# upload the release
gh release upload $newVersion ${PRODUCT_NAME}.xcframework.zip
gh release upload $newVersion ${PRODUCT_NAME}.zip
gh release upload $newVersion ${PRODUCT_NAME}.sha256

0 comments on commit 31b6f77

Please sign in to comment.