Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 7 lines 282 B view raw
1#!/usr/bin/env nix-shell 2#!nix-shell -i bash -p curl pcre common-updater-scripts 3 4set -eu -o pipefail 5 6version="$(curl -fsSL https://trunk.io/releases/trunk | grep -Fi 'readonly TRUNK_LAUNCHER_VERSION=' | pcregrep -o1 '"(\d+(?:\.\d+)+)"')" 7update-source-version trunk-io "$version"