anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / misc / jitsi-meet-prosody / update.sh
blob3c3695b1f6adaa64b0d13b9e814e9c12ccfbdb12
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-prosody/ {printf $4"\n"}' | \
9 sort -Vu | \
10 tail -n 1)"
12 update-source-version jitsi-meet-prosody "$version"