Skip to content

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

misc: add script to update LJM to the latest commit

Saúl Ibarra Corretgé546b0abe3274
diff --git a/resources/update-ljm.sh b/resources/update-ljm.sh
new file mode 100755
index 0000000000..ec55cbdad2
--- /dev/null
+++ b/resources/update-ljm.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+set -e -u
+
+THIS_DIR=$(cd -P "$(dirname "$(readlink "${BASH_SOURCE[0]}" || echo "${BASH_SOURCE[0]}")")" && pwd)
+LATEST_LJM_COMMIT=$(git ls-remote https://github.com/jitsi/lib-jitsi-meet.git HEAD | awk '{ print $1 }')
+
+pushd ${THIS_DIR}/..
+
+npm install github:jitsi/lib-jitsi-meet#${LATEST_LJM_COMMIT}
+git add package.json package-lock.json
+git commit -m "deps: lib-jitsi-meet@latest"
+
+popd
+
+echo "Done! Now push your branch to GH and open a PR!"