mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
6144606a2c
* sonarr: 2.0.0.5344 -> 3.0.5.1144 * sonarr: change license to gpl3Only * sonarr: add test passthru * sonarr: remove ellipses from arguments Co-authored-by: Sandro <sandro.jaeckel@gmail.com> * sonarr: create update script Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
8 lines
282 B
Bash
Executable File
8 lines
282 B
Bash
Executable File
#!/usr/bin/env nix-shell
|
|
#!nix-shell -i bash -p curl jq common-updater-scripts
|
|
|
|
latestTag=$(curl https://api.github.com/repos/Sonarr/Sonarr/tags | jq -r '.[] | .name' | sort --version-sort | tail -1)
|
|
version="$(expr $latestTag : 'v\(.*\)')"
|
|
|
|
update-source-version sonarr "$version"
|