Commit 20851477 authored by OPNA2608's avatar OPNA2608
Browse files

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

Latest hotfix wasn't pushed as a release.
parent 1a699212
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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