about summary refs log tree commit diff
path: root/pkgs/applications/video/anime-downloader/update.sh
blob: 292299298ad97783063598acb965c8d272738abb (plain) (blame)
1
2
3
4
5
6
7
8
#!/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"