You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by dh...@apache.org on 2016/11/07 23:18:19 UTC
[3/5] incubator-beam-site git commit: Tweak gpg-agent text,
move to GPG setup instructions
Tweak gpg-agent text, move to GPG setup instructions
Project: http://git-wip-us.apache.org/repos/asf/incubator-beam-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam-site/commit/cbe3fd59
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam-site/tree/cbe3fd59
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam-site/diff/cbe3fd59
Branch: refs/heads/asf-site
Commit: cbe3fd5967d7af024f49203dddf5bdd9f4c8a45c
Parents: 6e64a5d
Author: Dan Halperin <dh...@google.com>
Authored: Mon Nov 7 15:12:09 2016 -0800
Committer: Dan Halperin <dh...@google.com>
Committed: Mon Nov 7 15:12:09 2016 -0800
----------------------------------------------------------------------
src/contribute/release-guide.md | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-beam-site/blob/cbe3fd59/src/contribute/release-guide.md
----------------------------------------------------------------------
diff --git a/src/contribute/release-guide.md b/src/contribute/release-guide.md
index 1a4b2f5..68b47b5 100644
--- a/src/contribute/release-guide.md
+++ b/src/contribute/release-guide.md
@@ -83,6 +83,12 @@ Configure `git` to use this key when signing code by giving it your key ID, as f
You may drop the `--global` option if you\u2019d prefer to use this key for the current repository only.
+You may wish to start `gpg-agent` to unlock your GPG key only once using your passphrase. Otherwise, you may need to enter this passphrase hundreds of times. The setup for `gpg-agent` varies based on operating system, but may be something like this:
+
+ eval $(gpg-agent --daemon --no-grab --write-env-file $HOME/.gpg-agent-info)
+ export GPG_TTY=$(tty)
+ export GPG_AGENT_INFO
+
#### Access to Apache Nexus repository
Configure access to the [Apache Nexus repository](http://repository.apache.org/), which enables final deployment of releases to the Maven Central Repository.
@@ -207,12 +213,6 @@ Set up a few environment variables to simplify Maven commands that follow. This
RC_NUM="1"
TAG="v${VERSION}-RC${RC_NUM}"
-Before running the command to prepare the release you might have to start `gpg-agent` so that your key can be unlocked by your passphrase for signing the release. You can do this with something like this:
-
- eval $(gpg-agent --daemon --no-grab --write-env-file $HOME/.gpg-agent-info)
- export GPG_TTY=$(tty)
- export GPG_AGENT_INFO
-
Use Maven release plugin to build the release artifacts, as follows:
mvn release:prepare \