Skip to content

Commit

Permalink
chore: make shellcheck happy in releases_nixos()
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg committed Jun 24, 2024
1 parent 9303b73 commit b85494a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions quickget
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit b85494a

Please sign in to comment.