Skip to content

Commit

Permalink
[CI] Turn off checksum generation for Swift during changelog phase (#162
Browse files Browse the repository at this point in the history
)
  • Loading branch information
wkal-pubnub authored Jan 15, 2025
1 parent c309f27 commit c3c0ada
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release/kotlin-maven-build.sh
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
14 changes: 0 additions & 14 deletions .github/workflows/release/kotlin-pre-publish.sh

This file was deleted.

0 comments on commit c3c0ada

Please sign in to comment.