This is an automated email from the ASF dual-hosted git repository.

jongyoul pushed a commit to branch branch-0.12
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/branch-0.12 by this push:
     new 2831348ccc [MINOR] Fix create_release.sh
2831348ccc is described below

commit 2831348ccc8876eb1283b38bc0d90b9879664388
Author: Jongyoul Lee <jongy...@gmail.com>
AuthorDate: Fri Dec 27 22:18:29 2024 +0100

    [MINOR] Fix create_release.sh
---
 dev/create_release.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev/create_release.sh b/dev/create_release.sh
index b5529169f6..da840aa663 100755
--- a/dev/create_release.sh
+++ b/dev/create_release.sh
@@ -47,11 +47,11 @@ function make_source_package() {
   # create source package
   cd ${WORKING_DIR}
   cp -r "zeppelin" "zeppelin-${RELEASE_VERSION}"
-  ${TAR} cvzf "zeppelin-${RELEASE_VERSION}.tgz" "zeppelin-${RELEASE_VERSION}"
+  ${TAR} -cvzf "zeppelin-${RELEASE_VERSION}.tgz" "zeppelin-${RELEASE_VERSION}"
 
   echo "Signing the source package"
   cd "${WORKING_DIR}"
-  echo "${GPG_PASSPHRASE}" | gpg --passphrase-fd 0 --armor \
+  gpg --batch --pinentry-mode loopback --passphrase "${GPG_PASSPHRASE}" 
--armor \
     --output "zeppelin-${RELEASE_VERSION}.tgz.asc" \
     --detach-sig "${WORKING_DIR}/zeppelin-${RELEASE_VERSION}.tgz"
   ${SHASUM} -a 512 "zeppelin-${RELEASE_VERSION}.tgz" > \
@@ -77,10 +77,10 @@ function make_binary_release() {
   cat ../../src/bin_license/LICENSE >> 
"zeppelin-${RELEASE_VERSION}-bin-${BIN_RELEASE_NAME}/LICENSE"
   cat ../../src/bin_license/NOTICE >> 
"zeppelin-${RELEASE_VERSION}-bin-${BIN_RELEASE_NAME}/NOTICE"
   cp ../../src/bin_license/licenses/* 
"zeppelin-${RELEASE_VERSION}-bin-${BIN_RELEASE_NAME}/licenses/"
-  ${TAR} cvzf "zeppelin-${RELEASE_VERSION}-bin-${BIN_RELEASE_NAME}.tgz" 
"zeppelin-${RELEASE_VERSION}-bin-${BIN_RELEASE_NAME}"
+  ${TAR} -cvzf "zeppelin-${RELEASE_VERSION}-bin-${BIN_RELEASE_NAME}.tgz" 
"zeppelin-${RELEASE_VERSION}-bin-${BIN_RELEASE_NAME}"
 
   # sign bin package
-  echo "${GPG_PASSPHRASE}" | gpg --passphrase-fd 0 --armor \
+  gpg --batch --pinentry-mode loopback --passphrase "${GPG_PASSPHRASE}" 
--armor \
     --output "zeppelin-${RELEASE_VERSION}-bin-${BIN_RELEASE_NAME}.tgz.asc" \
     --detach-sig "zeppelin-${RELEASE_VERSION}-bin-${BIN_RELEASE_NAME}.tgz"
   ${SHASUM} -a 512 "zeppelin-${RELEASE_VERSION}-bin-${BIN_RELEASE_NAME}.tgz" > 
\

Reply via email to