biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / servers / jitsi-videobridge / update.sh
blob8646e6573128e3a94bdbb488d69346368b5cdf3e
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-videobridge2/ {printf $3"-"$4"-"$5"\n"}' | \
9 sort -Vu | \
10 tail -n 1)"
12 update-source-version jitsi-videobridge "$version"