nixpkgs/pkgs/servers/mir/update.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
293 B
Bash
Raw Normal View History

2024-06-09 12:47:21 +00:00
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl gnused jq common-updater-scripts
set -eou pipefail
version="$(curl --silent "https://api.github.com/repos/canonical/mir/tags" | jq '.[0].name' --raw-output)"
2024-06-09 12:47:21 +00:00
update-source-version mir "${version:1}" --file=./pkgs/servers/mir/default.nix