mir.passthru.updateScript: Look at tags instead of releases

Latest hotfix wasn't pushed as a release.
This commit is contained in:
OPNA2608 2024-10-31 22:24:52 +01:00
parent 1a69921212
commit 20851477dc

View File

@ -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