Skip to content

Commit

Permalink
fix(ios) SDK release script fixes
Browse files Browse the repository at this point in the history
- Run script with tracing
- Allow empty commits (we might need a rebuild)
- Fix tag name in lite SDK
  • Loading branch information
saghul committed Aug 7, 2024
1 parent 673a54a commit 679df49
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions ios/scripts/release-sdk-lite.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

set -e -u
set -e -u -x

THIS_DIR=$(cd -P "$(dirname "$(readlink "${BASH_SOURCE[0]}" || echo "${BASH_SOURCE[0]}")")" && pwd)
PROJECT_REPO=$(realpath ${THIS_DIR}/../..)
Expand Down Expand Up @@ -57,8 +57,8 @@ cp -a ${PROJECT_REPO}/ios/sdk/out/JitsiMeetSDK.xcframework lite/Frameworks/

# Add all files to git
git add -A .
git commit -m "${SDK_VERSION} lite"
git tag ${SDK_VERSION}
git commit --allow-empty -m "${SDK_VERSION} lite"
git tag "${SDK_VERSION}-lite"

popd

Expand Down
6 changes: 3 additions & 3 deletions ios/scripts/release-sdk.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

set -e -u
set -e -u -x

THIS_DIR=$(cd -P "$(dirname "$(readlink "${BASH_SOURCE[0]}" || echo "${BASH_SOURCE[0]}")")" && pwd)
PROJECT_REPO=$(realpath ${THIS_DIR}/../..)
Expand Down Expand Up @@ -57,8 +57,8 @@ cp -a ${PROJECT_REPO}/ios/sdk/out/JitsiMeetSDK.xcframework Frameworks/

# Add all files to git
git add -A .
git commit -m "${SDK_VERSION}"
git tag ${SDK_VERSION}
git commit --allow-empty -m "${SDK_VERSION}"
git tag "${SDK_VERSION}"

popd

Expand Down

0 comments on commit 679df49

Please sign in to comment.