Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 13 lines 355 B view raw
1#!/usr/bin/env nix-shell 2#!nix-shell -i bash -p curl jq common-updater-scripts 3 4set -euo pipefail 5 6version="$( 7 curl -s https://api.github.com/repos/ztefn/haguichi/releases | 8 jq '.[] | select(.target_commitish!="elementary") | .tag_name' --raw-output | 9 sort --version-sort --reverse | 10 head -n1 11)" 12 13update-source-version haguichi "$version"