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