mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
5987f095ef
Because gitUpdater sorts v0.6pre18 > v0.6, which produces downgrading automatic update PRs.
13 lines
376 B
Bash
Executable File
13 lines
376 B
Bash
Executable File
#!/usr/bin/env nix-shell
|
|
#!nix-shell -i bash -p common-updater-scripts curl jql
|
|
|
|
set -eu -o pipefail
|
|
|
|
# Because upstream uses release tags that don't always sort correctly, query for latest release
|
|
version="$(
|
|
curl -Ls 'https://api.github.com/repos/tildearrow/furnace/releases/latest' \
|
|
| jql -r '"tag_name"' \
|
|
| sed 's/^v//'
|
|
)"
|
|
update-source-version furnace "$version"
|