This is an automated email from the ASF dual-hosted git repository.
iwasakims pushed a commit to branch branch-3.2
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-3.2 by this push:
new 61e3ad6533c HADOOP-18334. Fix create-release to address removal of
GPG_AGENT_INFO in branch-3.2. (#4554)
61e3ad6533c is described below
commit 61e3ad6533c5a1cb72b06ab7a59111ed1ff930a7
Author: Masatake Iwasaki <[email protected]>
AuthorDate: Tue Jul 12 20:04:21 2022 +0900
HADOOP-18334. Fix create-release to address removal of GPG_AGENT_INFO in
branch-3.2. (#4554)
---
dev-support/bin/create-release | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dev-support/bin/create-release b/dev-support/bin/create-release
index f0874fd7fd5..b7145587b6e 100755
--- a/dev-support/bin/create-release
+++ b/dev-support/bin/create-release
@@ -249,7 +249,9 @@ function startgpgagent
eval $("${GPGAGENT}" --daemon \
--options "${LOGDIR}/gpgagent.conf" \
--log-file="${LOGDIR}/create-release-gpgagent.log")
- GPGAGENTPID=$(echo "${GPG_AGENT_INFO}" | cut -f 2 -d:)
+ GPGAGENTPID=$(pgrep "${GPGAGENT}")
+ GPG_AGENT_INFO="$HOME/.gnupg/S.gpg-agent:$GPGAGENTPID:1"
+ export GPG_AGENT_INFO
fi
if [[ -n "${GPG_AGENT_INFO}" ]]; then
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]