feat: make releases_fedora() and editions_fedora() dynamic

This commit is contained in:
Martin Wimpress 2024-04-28 20:09:29 +01:00 committed by Martin Wimpress
parent ef68a6be16
commit 4c511a74d7
1 changed files with 2 additions and 2 deletions

View File

@ -789,11 +789,11 @@ function editions_endless() {
} }
function releases_fedora() { function releases_fedora() {
echo 40 39 echo $(web_pipe "https://getfedora.org/releases.json" | jq -r 'map(.version) | unique | .[]' | sort -r)
} }
function editions_fedora() { function editions_fedora() {
echo Workstation Budgie Cinnamon i3 KDE LXDE LXQt Mate Xfce Silverblue Sericea Kinoite Sway Server Onyx echo $(web_pipe "https://getfedora.org/releases.json" | jq -r 'map(select(.arch=="x86_64" and .variant!="Labs" and .variant!="IoT" and .variant!="Container" and .variant!="Cloud" and .variant!="Everything" and .subvariant!="Security" and .subvariant!="Server_KVM" and .subvariant!="SoaS")) | map(.subvariant) | unique | .[]' | sort)
} }
function releases_freebsd(){ function releases_freebsd(){