From 31b6f77fe8f611a349bed037905696e517978747 Mon Sep 17 00:00:00 2001 From: Brandon Sneed Date: Wed, 29 Nov 2023 12:14:35 -0800 Subject: [PATCH] Tweak build/release process --- .gitignore | 4 +++- build.sh | 2 +- release.sh | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 0a69094..844bfbd 100644 --- a/.gitignore +++ b/.gitignore @@ -92,4 +92,6 @@ iOSInjectionProject/ Package.resolved *.xcuserdatad /.swiftpm/xcode/xcshareddata -*.XCFramework \ No newline at end of file +*.XCFramework +*.sha256 +*.zip \ No newline at end of file diff --git a/build.sh b/build.sh index 7ff8db3..a6c432e 100755 --- a/build.sh +++ b/build.sh @@ -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." \ No newline at end of file diff --git a/release.sh b/release.sh index 21535a4..9c46a6e 100755 --- a/release.sh +++ b/release.sh @@ -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 \ No newline at end of file