Merge pull request #330634 from r-ryantm/auto-update/circumflex
[NixPkgs.git] / pkgs / servers / mir / update.sh
blobbd969e9fceefd985fa8e7f2c8e8fb46487759ad1
1 #!/usr/bin/env nix-shell
2 #!nix-shell -i bash -p curl gnused jq common-updater-scripts
4 set -eou pipefail
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