-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Turn off checksum generation for Swift during changelog phase (#162
- Loading branch information
1 parent
c309f27
commit c3c0ada
Showing
2 changed files
with
2 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,11 @@ | ||
set -e | ||
export ZERO_AR_DATE=1 | ||
echo "Build Kotlin and Swift Chat SDK module artifacts" | ||
./gradlew -PENABLE_TARGET_IOS_ALL=true :podPublishReleaseXCFramework assemble | ||
TZ=UTC find build/cocoapods/publish/release/PubNubChat.xcframework -exec touch -t 197001010000.00 {} + | ||
rm -f build/cocoapods/publish/release/PubNubChat.xcframework.zip | ||
pushd build/cocoapods/publish/release | ||
zip -X -vr PubNubChat.xcframework.zip PubNubChat.xcframework | ||
TZ=UTC touch -t 197001010000.00 PubNubChat.xcframework.zip | ||
popd | ||
CHECKSUM=$(swift package compute-checksum build/cocoapods/publish/release/PubNubChat.xcframework.zip) | ||
echo $CHECKSUM | ||
mkdir build/gh_artifacts | ||
mv build/cocoapods/publish/release/PubNubChat.xcframework.zip build/gh_artifacts/ | ||
mv build/cocoapods/publish/release/PubNubChat.xcframework.zip build/gh_artifacts/ | ||
echo "$CHECKSUM" > build/gh_artifacts/PubNubChat.xcframework.checksum.txt |
This file was deleted.
Oops, something went wrong.