nixpkgs/pkgs/applications/video/anime-downloader/update.sh

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

9 lines
279 B
Bash
Raw Normal View History

2022-06-05 03:02:14 +00:00
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl jq common-updater-scripts
set -eu -o pipefail
version="$(curl --silent "https://api.github.com/repos/anime-dl/anime-downloader/releases" | jq '.[0].tag_name' --raw-output)"
update-source-version anime-downloader "$version"