Skip to content

Commit 032a403

Browse files
authored
Update build/release process (#282)
1 parent cf78903 commit 032a403

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ rm Segment.zip
1818
rm Sovran.zip
1919
rm Segment.sha256
2020
rm Sovran.sha256
21+
rm JSONSafeEncoder.zip
22+
rm JSONSafeEncoder.sha256
2123

2224
echo "Building XCFrameworks ..."
2325

24-
swift create-xcframework --clean --platform ios --platform macos --platform maccatalyst --platform tvos --platform watchos --stack-evolution --zip Segment Sovran
26+
swift create-xcframework --clean --platform ios --platform macos --platform maccatalyst --platform tvos --platform watchos --stack-evolution --zip Segment Sovran JSONSafeEncoder
2527

2628
echo "Done."

release.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ rm $tempFile
147147
gh release upload $newVersion ${PRODUCT_NAME}.zip
148148
gh release upload $newVersion ${PRODUCT_NAME}.sha256
149149

150-
# SPECIAL CASE: We need to upload Sovran to save them time.
150+
# SPECIAL CASE: We need to upload Sovran and JSONSafeEncoder to save them time.
151151
gh release upload $newVersion Sovran.zip
152152
gh release upload $newVersion Sovran.sha256
153+
gh release upload $newVersion JSONSafeEncoder.zip
154+
gh release upload $newVersion JSONSafeEncoder.sha256

0 commit comments

Comments
 (0)