jitsi: fix update scripts
To consistently return the latest version number even when it is no longer
at the bottom of the alphanumeric list on the Jitsi stable download page.
Based on fix by @sbruder in 13760b87d2
This commit is contained in:
parent
b6b3d3c13b
commit
705e150b60
4 changed files with 4 additions and 4 deletions
|
@ -6,7 +6,7 @@ set -eu -o pipefail
|
|||
version="$(curl https://download.jitsi.org/stable/ | \
|
||||
pup 'a[href] text{}' | \
|
||||
awk -F'[_-]' '/jitsi-meet-prosody/ {printf $4"\n"}' | \
|
||||
sort -u | \
|
||||
sort -Vu | \
|
||||
tail -n 1)"
|
||||
|
||||
update-source-version jitsi-meet-prosody "$version"
|
||||
|
|
|
@ -6,7 +6,7 @@ set -eu -o pipefail
|
|||
version="$(curl https://download.jitsi.org/stable/ | \
|
||||
pup 'a[href] text{}' | \
|
||||
awk -F'[_-]' '/jibri/ {printf $2"-"$3"-"$4"\n"}' | \
|
||||
sort -u | \
|
||||
sort -Vu | \
|
||||
tail -n 1)"
|
||||
|
||||
update-source-version jibri "$version"
|
||||
|
|
|
@ -6,7 +6,7 @@ set -eu -o pipefail
|
|||
version="$(curl https://download.jitsi.org/stable/ | \
|
||||
pup 'a[href] text{}' | \
|
||||
awk -F'[_-]' '/jicofo/ {printf $2"-"$3"\n"}' | \
|
||||
sort -u | \
|
||||
sort -Vu | \
|
||||
tail -n 1)"
|
||||
|
||||
update-source-version jicofo "$version"
|
||||
|
|
|
@ -6,7 +6,7 @@ set -eu -o pipefail
|
|||
version="$(curl https://download.jitsi.org/stable/ | \
|
||||
pup 'a[href] text{}' | \
|
||||
awk -F'[_-]' '/jitsi-meet-web_/ {printf $4"\n"}' | \
|
||||
sort -u | \
|
||||
sort -Vu | \
|
||||
tail -n 1)"
|
||||
|
||||
update-source-version jitsi-meet "$version"
|
||||
|
|
Loading…
Reference in a new issue