plasticity: fix update.sh

This commit is contained in:
Laurent Arnoud 2024-06-14 10:27:00 +02:00
parent 3ed05ce8f6
commit 5c81c4126a
No known key found for this signature in database
GPG Key ID: 2AA771B0751C9763

View File

@ -5,7 +5,7 @@
set -eu -o pipefail
version=$(curl -s ${GITHUB_TOKEN:+-u ":$GITHUB_TOKEN"} \
curl -s https://api.github.com/repos/nkallen/plasticity/releases/latest | jq -e -r ".tag_name | .[1:]")
https://api.github.com/repos/nkallen/plasticity/releases/latest | jq -e -r ".tag_name | .[1:]")
old_version=$(nix-instantiate --eval -A plasticity.version | jq -e -r)
if [[ $version == "$old_version" ]]; then