mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
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:
parent
14b9205ae2
commit
13760b87d2
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user