chore: make shellcheck happy in releases_nixos() (#1295)

This commit is contained in:
Martin Wimpress 2024-06-24 10:08:03 +01:00 committed by GitHub
parent 56ec3c9e47
commit 2c6a050643
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -906,8 +906,9 @@ function releases_nitrux() {
}
function releases_nixos() {
# unstable plus the two most recent releases
echo unstable $(web_pipe https://nix-channels.s3.amazonaws.com/?delimiter=/ | grep -o -P '(?<=<Key>nixos-)[0-9]+.[0-9]+(?=</Key>)' | sort -nr | head -n +2)
# Lists unstable plus the two most recent releases
#shellcheck disable=SC2046
echo unstable $(web_pipe "https://nix-channels.s3.amazonaws.com/?delimiter=/" | grep -o -P '(?<=<Key>nixos-)[0-9]+.[0-9]+(?=</Key>)' | sort -nr | head -n +2)
}
function editions_nixos() {