jitsi-videobridge: fix update script

Otherwise e.g. jitsi-videobridge2_2.2-18-gade06bf8 is seen as newer than
jitsi-videobridge2_2.2-9-g8cded16e.
This commit is contained in:
Simon Bruder 2022-08-03 17:45:14 +02:00
parent 14b9205ae2
commit 13760b87d2
No known key found for this signature in database
GPG key ID: 8D3C82F9F309F8EC

View file

@ -6,7 +6,7 @@ set -eu -o pipefail
version="$(curl https://download.jitsi.org/stable/ | \
pup 'a[href] text{}' | \
awk -F'[_-]' '/jitsi-videobridge2/ {printf $3"-"$4"-"$5"\n"}' | \
sort -u | \
sort -Vu | \
tail -n 1)"
update-source-version jitsi-videobridge "$version"