fix(ios) SDK release script fixes

- Run script with tracing
- Allow empty commits (we might need a rebuild)
- Fix tag name in lite SDK
This commit is contained in:
Saúl Ibarra Corretgé
2024-08-07 23:22:59 +02:00
committed by Saúl Ibarra Corretgé
parent 01bcccdd99
commit ce22adfe64
2 changed files with 6 additions and 6 deletions

View File

@@ -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}/../..)
@@ -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

View File

@@ -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}/../..)
@@ -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