diff --git a/pkgs/misc/jitsi-meet-prosody/update.sh b/pkgs/misc/jitsi-meet-prosody/update.sh index bc039d1ba8e8..3c3695b1f6ad 100755 --- a/pkgs/misc/jitsi-meet-prosody/update.sh +++ b/pkgs/misc/jitsi-meet-prosody/update.sh @@ -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" diff --git a/pkgs/servers/jibri/update.sh b/pkgs/servers/jibri/update.sh index 9606a5170c1a..60e348ff0e20 100755 --- a/pkgs/servers/jibri/update.sh +++ b/pkgs/servers/jibri/update.sh @@ -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" diff --git a/pkgs/servers/jicofo/update.sh b/pkgs/servers/jicofo/update.sh index 538e17d93da7..1b72920ac33b 100755 --- a/pkgs/servers/jicofo/update.sh +++ b/pkgs/servers/jicofo/update.sh @@ -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" diff --git a/pkgs/servers/web-apps/jitsi-meet/update.sh b/pkgs/servers/web-apps/jitsi-meet/update.sh index 9c80fa4e6039..1ccf45fd1a4c 100755 --- a/pkgs/servers/web-apps/jitsi-meet/update.sh +++ b/pkgs/servers/web-apps/jitsi-meet/update.sh @@ -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"