ios: add ability to override SDK version when releasing

pull/4216/head
Saúl Ibarra Corretgé 6 years ago committed by Saúl Ibarra Corretgé
parent 6f320f463d
commit e66b596a0d
  1. 3
      ios/scripts/release-sdk.sh

@ -5,7 +5,8 @@ set -e -u
THIS_DIR=$(cd -P "$(dirname "$(readlink "${BASH_SOURCE[0]}" || echo "${BASH_SOURCE[0]}")")" && pwd)
PROJECT_REPO=$(realpath ${THIS_DIR}/../..)
RELEASE_REPO=$(realpath ${THIS_DIR}/../../../jitsi-meet-ios-sdk-releases)
SDK_VERSION=$(/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" ${THIS_DIR}/../sdk/src/Info.plist)
DEFAULT_SDK_VERSION=$(/usr/libexec/PlistBuddy -c "Print CFBundleShortVersionString" ${THIS_DIR}/../sdk/src/Info.plist)
SDK_VERSION=${OVERRIDE_SDK_VERSION:-${DEFAULT_SDK_VERSION}}
echo "Releasing Jitsi Meet SDK ${SDK_VERSION}"

Loading…
Cancel
Save