mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
mir.passthru.updateScript: Look at tags instead of releases
Latest hotfix wasn't pushed as a release.
This commit is contained in:
parent
1a69921212
commit
20851477dc
@ -3,6 +3,6 @@
|
||||
|
||||
set -eou pipefail
|
||||
|
||||
version="$(curl --silent "https://api.github.com/repos/canonical/mir/releases" | jq '.[0].tag_name' --raw-output)"
|
||||
version="$(curl --silent "https://api.github.com/repos/canonical/mir/tags" | jq '.[0].name' --raw-output)"
|
||||
|
||||
update-source-version mir "${version:1}" --file=./pkgs/servers/mir/default.nix
|
||||
|
Loading…
Reference in New Issue
Block a user