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/ | \
|
version="$(curl https://download.jitsi.org/stable/ | \
|
||||||
pup 'a[href] text{}' | \
|
pup 'a[href] text{}' | \
|
||||||
awk -F'[_-]' '/jitsi-videobridge2/ {printf $3"-"$4"-"$5"\n"}' | \
|
awk -F'[_-]' '/jitsi-videobridge2/ {printf $3"-"$4"-"$5"\n"}' | \
|
||||||
sort -u | \
|
sort -Vu | \
|
||||||
tail -n 1)"
|
tail -n 1)"
|
||||||
|
|
||||||
update-source-version jitsi-videobridge "$version"
|
update-source-version jitsi-videobridge "$version"
|
||||||
|
|
Loading…
Reference in a new issue