You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by fr...@apache.org on 2018/11/18 02:18:07 UTC

calcite-avatica git commit: Set release script to use gpg-agent

Repository: calcite-avatica
Updated Branches:
  refs/heads/master c427d2c22 -> f8520bb89


Set release script to use gpg-agent


Project: http://git-wip-us.apache.org/repos/asf/calcite-avatica/repo
Commit: http://git-wip-us.apache.org/repos/asf/calcite-avatica/commit/f8520bb8
Tree: http://git-wip-us.apache.org/repos/asf/calcite-avatica/tree/f8520bb8
Diff: http://git-wip-us.apache.org/repos/asf/calcite-avatica/diff/f8520bb8

Branch: refs/heads/master
Commit: f8520bb89f93531f5cff713526860fd2263308f8
Parents: c427d2c
Author: Francis Chuang <fr...@apache.org>
Authored: Sun Nov 18 13:17:34 2018 +1100
Committer: Francis Chuang <fr...@apache.org>
Committed: Sun Nov 18 13:17:34 2018 +1100

----------------------------------------------------------------------
 release.sh | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/calcite-avatica/blob/f8520bb8/release.sh
----------------------------------------------------------------------
diff --git a/release.sh b/release.sh
index ec06c79..eff4dbf 100755
--- a/release.sh
+++ b/release.sh
@@ -99,6 +99,9 @@ select_gpg_key(){
     echo "Starting GPG agent..."
     gpg-agent --daemon
 
+    touch /root/.gnupg/gpg.conf
+    echo use-agent >> /root/.gnupg/gpg.conf
+
     while $INVALID_KEY_SELECTED; do
 
         if [ "${#KEYS[@]}" -le 0 ]; then