bin/update-openssh: add back version param

This commit is contained in:
Aaron Bieber 2023-09-06 07:23:30 -06:00
parent 49851a5ce3
commit e0b2efb23a
No known key found for this signature in database

View File

@ -11,8 +11,10 @@ CURRENT_COMMIT="$(echo $CURRENT | jq -r .rev)"
if [ "${CURRENT_COMMIT}" != "${COMMIT}" ]; then if [ "${CURRENT_COMMIT}" != "${COMMIT}" ]; then
nix-prefetch-github openssh openssh-portable \ nix-prefetch-github openssh openssh-portable \
-rev "${COMMIT}" \ --rev "${COMMIT}" \
--json > pkgs/openssh/version.json --json | \
jq -r --arg v "${UPDATED}" '. |= . + {"version": $v}' \
> pkgs/openssh/version.json
else else
echo "No updates." echo "No updates."
fi fi