bin/update-openssh: include comment in commit message
This commit is contained in:
parent
8a8af2b89c
commit
408ff5e0be
@ -25,8 +25,11 @@ if [ "${CURRENT_COMMIT}" != "${COMMIT}" ]; then
|
|||||||
--arg c "${COMMENT}" \
|
--arg c "${COMMENT}" \
|
||||||
'. |= . + {"version": $v, "comment": $c}' \
|
'. |= . + {"version": $v, "comment": $c}' \
|
||||||
> pkgs/openssh/version.json
|
> pkgs/openssh/version.json
|
||||||
echo "Updated to '${COMMIT}': '${COMMENT}'"
|
FN=$(mktemp)
|
||||||
git add pkgs/openssh/version.json && git commit -m "pkgs/openssh: update to ${COMMIT}"
|
echo "Updated to '${COMMIT}': '${COMMENT}'" > ${FN}
|
||||||
|
echo >> ${FN}
|
||||||
|
echo "${COMMENT}" >> ${FN}
|
||||||
|
git add pkgs/openssh/version.json && git commit -F $FN
|
||||||
else
|
else
|
||||||
echo "No updates."
|
echo "No updates."
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user