Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2A7D2200C91 for ; Sun, 11 Jun 2017 21:10:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 28E72160BD7; Sun, 11 Jun 2017 19:10:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6F609160B9C for ; Sun, 11 Jun 2017 21:10:02 +0200 (CEST) Received: (qmail 99746 invoked by uid 500); 11 Jun 2017 19:10:01 -0000 Mailing-List: contact commits-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.apache.org Delivered-To: mailing list commits@aurora.apache.org Received: (qmail 99737 invoked by uid 99); 11 Jun 2017 19:10:01 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Jun 2017 19:10:01 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7283DDFBC6; Sun, 11 Jun 2017 19:10:01 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: santhk@apache.org To: commits@aurora.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: aurora git commit: Set GPG_TTY if not set in the release scripts. Date: Sun, 11 Jun 2017 19:10:01 +0000 (UTC) archived-at: Sun, 11 Jun 2017 19:10:03 -0000 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 Authored: Sun Jun 11 12:09:41 2017 -0700 Committer: Santhosh Kumar 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'