mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
lidarr: fix bug in update script
This commit is contained in:
parent
b8f1188e2e
commit
27ec5c33b2
@ -25,7 +25,7 @@ updateVersion()
|
||||
sed -i "s/version = \"[0-9.]*\";/version = \"$1\";/g" "$dirname/default.nix"
|
||||
}
|
||||
|
||||
currentVersion=$(cd $dirname && nix eval --raw -f ../../.. radarr.version)
|
||||
currentVersion=$(cd $dirname && nix eval --raw -f ../../.. lidarr.version)
|
||||
|
||||
latestTag=$(curl https://api.github.com/repos/Lidarr/Lidarr/releases/latest | jq -r ".tag_name")
|
||||
latestVersion="$(expr $latestTag : 'v\(.*\)')"
|
||||
|
Loading…
Reference in New Issue
Block a user