1 #!/usr/bin/env nix-shell
2 #!nix-shell -i bash -p curl gnused jq common-updater-scripts
6 version
="$(curl --silent "https
://api.github.com
/repos
/canonical
/mir
/releases
" | jq '.[0].tag_name' --raw-output)"
8 update-source-version mir
"${version:1}" --file=.
/pkgs
/servers
/mir
/default.nix