Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
android: update SDK release script to publish JSC artifacts
Saúl Ibarra Corretgé6861f463b3c8
diff --git a/android/scripts/release-sdk.sh b/android/scripts/release-sdk.shindex ef7e3278ec..a440b3d1cc 100755--- a/android/scripts/release-sdk.sh+++ b/android/scripts/release-sdk.sh@@ -10,6 +10,7 @@ MVN_HTTP=0DEFAULT_SDK_VERSION=$(grep sdkVersion ${THIS_DIR}/../gradle.properties | cut -d"=" -f2)SDK_VERSION=${OVERRIDE_SDK_VERSION:-${DEFAULT_SDK_VERSION}}RN_VERSION=$(jq -r '.dependencies."react-native"' ${THIS_DIR}/../../package.json)+JSC_VERSION="r"$(jq -r '.dependencies."jsc-android"' ${THIS_DIR}/../../node_modules/react-native/package.json | cut -d . -f 1)DO_GIT_TAG=${GIT_TAG:-0}if [[ $THE_MVN_REPO == http* ]]; then@@ -37,14 +38,20 @@ if [[ $MVN_HTTP == 1 ]]; then-DgeneratePom=false \-DpomFile=react-native-${RN_VERSION}.pom || truepopd+ # Push JSC+ echo "Pushing JSC ${JSC_VERSION} to the Maven repo"+ pushd ${THIS_DIR}/../../node_modules/jsc-android/dist/org/webkit/android-jsc/${JSC_VERSION}+ mvn \+ deploy:deploy-file \+ -Durl=${MVN_REPO} \+ -DrepositoryId=${MVN_REPO_ID} \+ -Dfile=android-jsc-${JSC_VERSION}.aar \+ -Dpackaging=aar \+ -DgeneratePom=false \+ -DpomFile=android-jsc-${JSC_VERSION}.pom || true+ popdelse- # Check if an SDK with that same version has already been released- if [[ -d ${MVN_REPO}/org/jitsi/react/jitsi-meet-sdk/${SDK_VERSION} ]]; then- echo "There is already a release with that version in the Maven repo!"- exit 1- fi-- # First push React Native, if necessary+ # Push React Native, if necessaryif [[ ! -d ${MVN_REPO}/com/facebook/react/react-native/${RN_VERSION} ]]; thenecho "Pushing React Native ${RN_VERSION} to the Maven repo"pushd ${THIS_DIR}/../../node_modules/react-native/android/com/facebook/react/react-native/${RN_VERSION}@@ -57,6 +64,26 @@ else-DpomFile=react-native-${RN_VERSION}.pompopdfi++ # Push JSC, if necessary+ if [[ ! -d ${MVN_REPO}/org/webkit/android-jsc/${JSC_VERSION} ]]; then+ echo "Pushing JSC ${JSC_VERSION} to the Maven repo"+ pushd ${THIS_DIR}/../../node_modules/jsc-android/dist/org/webkit/android-jsc/${JSC_VERSION}+ mvn \+ deploy:deploy-file \+ -Durl=${MVN_REPO} \+ -Dfile=android-jsc-${JSC_VERSION}.aar \+ -Dpackaging=aar \+ -DgeneratePom=false \+ -DpomFile=android-jsc-${JSC_VERSION}.pom+ popd+ fi++ # Check if an SDK with that same version has already been released+ if [[ -d ${MVN_REPO}/org/jitsi/react/jitsi-meet-sdk/${SDK_VERSION} ]]; then+ echo "There is already a release with that version in the Maven repo!"+ exit 1+ fifi# Now build and publish the Jitsi Meet SDK and its dependencies