pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / by-name / fu / furnace / update.sh
blobcc2969f350454c1106fd26786c6ab1876eda7ae6
1 #!/usr/bin/env nix-shell
2 #!nix-shell -i bash -p common-updater-scripts curl jql
4 set -eu -o pipefail
6 # Because upstream uses release tags that don't always sort correctly, query for latest release
7 version="$(
8 curl -Ls 'https://api.github.com/repos/tildearrow/furnace/releases/latest' \
9 | jql -r '"tag_name"' \
10 | sed 's/^v//'
12 update-source-version furnace "$version"