Skip to content

Commit

Permalink
Updated release scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsneed committed Apr 19, 2024
1 parent 0c5365f commit ab8b6e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ rm Segment.zip
rm Sovran.zip
rm Segment.sha256
rm Sovran.sha256
rm JSONSafeEncoder.zip
rm JSONSafeEncoder.sha256
rm JSONSafeEncoding.zip
rm JSONSafeEncoding.sha256

echo "Building XCFrameworks ..."

swift create-xcframework --clean --platform ios --platform macos --platform maccatalyst --platform tvos --platform watchos --stack-evolution --zip Segment Sovran JSONSafeEncoder
swift create-xcframework --clean --platform ios --platform macos --platform maccatalyst --platform tvos --platform watchos --stack-evolution --zip Segment Sovran JSONSafeEncoding

echo "Done."
6 changes: 3 additions & 3 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ rm $tempFile
gh release upload $newVersion ${PRODUCT_NAME}.zip
gh release upload $newVersion ${PRODUCT_NAME}.sha256

# SPECIAL CASE: We need to upload Sovran and JSONSafeEncoder to save them time.
# SPECIAL CASE: We need to upload Sovran and JSONSafeEncoding to save them time.
gh release upload $newVersion Sovran.zip
gh release upload $newVersion Sovran.sha256
gh release upload $newVersion JSONSafeEncoder.zip
gh release upload $newVersion JSONSafeEncoder.sha256
gh release upload $newVersion JSONSafeEncoding.zip
gh release upload $newVersion JSONSafeEncoding.sha256

0 comments on commit ab8b6e5

Please sign in to comment.