"Fossies" - the Fresh Open Source Software Archive

Member "jitsi-meet-4434/resources/update-ljm.sh" (25 Sep 2020, 458 Bytes) of package /linux/misc/jitsi-meet-4434.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/bash
    2 
    3 set -e -u
    4 
    5 THIS_DIR=$(cd -P "$(dirname "$(readlink "${BASH_SOURCE[0]}" || echo "${BASH_SOURCE[0]}")")" && pwd)
    6 LATEST_LJM_COMMIT=$(git ls-remote https://github.com/jitsi/lib-jitsi-meet.git HEAD | awk '{ print $1 }')
    7 
    8 pushd ${THIS_DIR}/..
    9 
   10 npm install github:jitsi/lib-jitsi-meet#${LATEST_LJM_COMMIT}
   11 git add package.json package-lock.json
   12 git commit -m "deps: lib-jitsi-meet@latest"
   13 
   14 popd
   15 
   16 echo "Done! Now push your branch to GH and open a PR!"