Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix: Fixes script with correct commit message.

Дамян Минковd23cd7f77da2
diff --git a/resources/update-ljm.sh b/resources/update-ljm.sh
index 61ab76e5ed..c0834b7aca 100755
--- a/resources/update-ljm.sh
+++ b/resources/update-ljm.sh
@@ -28,13 +28,19 @@ if [[ "${CURRENT_LJM_DEP}" == "${LATEST_LJM_DEP}" ]]; then
exit 1
fi
+if [[ ${CURRENT_LJM_DEP} =~ ^.*download/(.*)/lib-jitsi-meet\.tgz$ ]]; then
+ COMMIT_MSG="https://github.com/jitsi/lib-jitsi-meet/compare/${BASH_REMATCH[1]}...${NEW_LJM_RELEASE}"
+else
+ COMMIT_MSG=${GH_LINK}
+fi
+
pushd ${THIS_DIR}/..
EPOCH=$(date +%s)
NEW_BRANCH="update-ljm-${EPOCH}"
git checkout -b ${NEW_BRANCH}
npm install ${LATEST_LJM_DEP}
git add package.json package-lock.json
-git commit -m "chore(deps) lib-jitsi-meet@latest" -m "${GH_LINK}"
+git commit -m "chore(deps) lib-jitsi-meet@latest" -m "${COMMIT_MSG}"
git push origin ${NEW_BRANCH}
gh pr create --repo jitsi/jitsi-meet --fill
popd