Merge pull request #330634 from r-ryantm/auto-update/circumflex
[NixPkgs.git] / pkgs / servers / web-apps / jitsi-meet / update.sh
blob1ccf45fd1a4cc00d26bd3845f4125171e7c1b6cc
1 #!/usr/bin/env nix-shell
2 #!nix-shell -i bash -p curl pup common-updater-scripts
4 set -eu -o pipefail
6 version="$(curl https://download.jitsi.org/stable/ | \
7 pup 'a[href] text{}' | \
8 awk -F'[_-]' '/jitsi-meet-web_/ {printf $4"\n"}' | \
9 sort -Vu | \
10 tail -n 1)"
12 update-source-version jitsi-meet "$version"