anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / tools / misc / trackma / update.sh
blob7ad4a31f185b9c6170c185fe0c16ace1d175f645
1 #!/usr/bin/env nix-shell
2 #!nix-shell -i bash -p curl jq common-updater-scripts
4 set -eu -o pipefail
6 version="$(curl --silent "https://api.github.com/repos/z411/trackma/releases" | jq '.[0].tag_name' --raw-output)"
8 update-source-version trackma "${version:1}"