bin/update-openssh: add back version param
This commit is contained in:
parent
49851a5ce3
commit
e0b2efb23a
@ -11,8 +11,10 @@ CURRENT_COMMIT="$(echo $CURRENT | jq -r .rev)"
|
||||
|
||||
if [ "${CURRENT_COMMIT}" != "${COMMIT}" ]; then
|
||||
nix-prefetch-github openssh openssh-portable \
|
||||
-rev "${COMMIT}" \
|
||||
--json > pkgs/openssh/version.json
|
||||
--rev "${COMMIT}" \
|
||||
--json | \
|
||||
jq -r --arg v "${UPDATED}" '. |= . + {"version": $v}' \
|
||||
> pkgs/openssh/version.json
|
||||
else
|
||||
echo "No updates."
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user