bin/update-openssh: include comment in version.json

This commit is contained in:
Aaron Bieber 2023-09-06 08:07:22 -06:00
parent fc071c3432
commit a4806e2289
No known key found for this signature in database
2 changed files with 5 additions and 2 deletions

View File

@ -13,7 +13,9 @@ if [ "${CURRENT_COMMIT}" != "${COMMIT}" ]; then
nix-prefetch-github openssh openssh-portable \
--rev "${COMMIT}" \
--json | \
jq -r --arg v "${UPDATED}" '. |= . + {"version": $v}' \
jq -r --arg v "${UPDATED}" \
--arg c "${COMMENT}" \
'. |= . + {"version": $v, "comment": $c}' \
> pkgs/openssh/version.json
else
echo "No updates."

View File

@ -3,5 +3,6 @@
"repo": "openssh-portable",
"rev": "694150ad92765574ff82a18f4e86322bd3231e68",
"hash": "sha256-j0g0hPbAAWIFP0p3wL81heA7IUywznLGMJu4SaVlb3c=",
"version": "2023-09-04"
"version": "2023-09-04",
"comment": "upstream: trigger keystroke timing obfucation only if the channels"
}