busbey commented on a change in pull request #1992:
URL: https://github.com/apache/hbase/pull/1992#discussion_r447388698
##########
File path: dev-support/create-release/release-util.sh
##########
@@ -20,6 +20,9 @@ DRY_RUN=${DRY_RUN:-1} #default to dry run
DEBUG=${DEBUG:-0}
GPG=${GPG:-gpg}
GPG_ARGS=(--no-autostart --batch)
+if [ -n "${GPG_KEY}" ]; then
Review comment:
no, in the case of directly running do-release.sh then GPG_KEY isn't
defined when we source `release-util.sh`. shortly thereafter we call
`get_release_info`, which sets GPG_KEY. (with this change we use GPG_KEY to
update GPG_ARGS in that function)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]