aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From san...@apache.org
Subject aurora git commit: Set GPG_TTY if not set in the release scripts.
Date Sun, 11 Jun 2017 19:10:01 GMT
Repository: aurora
Updated Branches:
  refs/heads/master 77a64f789 -> 06518c86b


Set GPG_TTY if not set in the release scripts.

Reviewed at https://reviews.apache.org/r/59966/


Project: http://git-wip-us.apache.org/repos/asf/aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/06518c86
Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/06518c86
Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/06518c86

Branch: refs/heads/master
Commit: 06518c86bc15bc7cc65558e8e2f4251fc9b12a47
Parents: 77a64f7
Author: Santhosh Kumar Shanmugham <santhoshkumar.s@gmail.com>
Authored: Sun Jun 11 12:09:41 2017 -0700
Committer: Santhosh Kumar <sshanmugham@twitter.com>
Committed: Sun Jun 11 12:09:41 2017 -0700

----------------------------------------------------------------------
 build-support/release/release           | 5 +++++
 build-support/release/release-candidate | 5 +++++
 2 files changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aurora/blob/06518c86/build-support/release/release
----------------------------------------------------------------------
diff --git a/build-support/release/release b/build-support/release/release
index 04479f5..ff7ee71 100755
--- a/build-support/release/release
+++ b/build-support/release/release
@@ -19,6 +19,11 @@
 set -e
 set -o nounset
 
+# If GPG_TTY is unset, set it to the default tty. Otherwise git will not prompt
+# for a passpharse for the GPG-key and silently fail when trying to create signed
+# commits/tags.
+export GPG_TTY=${GPG_TTY:-$(tty)}
+
 aurora_git_web_url='https://git-wip-us.apache.org/repos/asf?p=aurora.git'
 aurora_svn_dist_url='https://dist.apache.org/repos/dist/release/aurora'
 aurora_svn_dev_dist_url='https://dist.apache.org/repos/dist/dev/aurora'

http://git-wip-us.apache.org/repos/asf/aurora/blob/06518c86/build-support/release/release-candidate
----------------------------------------------------------------------
diff --git a/build-support/release/release-candidate b/build-support/release/release-candidate
index fa316d4..bab92bb 100755
--- a/build-support/release/release-candidate
+++ b/build-support/release/release-candidate
@@ -26,6 +26,11 @@
 set -o errexit
 set -o nounset
 
+# If GPG_TTY is unset, set it to the default tty. Otherwise git will not prompt
+# for a passpharse for the GPG-key and silently fail when tryint to create signed
+# commits/tags.
+export GPG_TTY=${GPG_TTY:-$(tty)}
+
 rc_number=0
 override_version=''
 aurora_git_web_url='https://git-wip-us.apache.org/repos/asf?p=aurora.git'


Mime
View raw message