You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@livy.apache.org by js...@apache.org on 2019/12/16 06:40:24 UTC
[incubator-livy] branch branch-0.7 updated: [Minor] Revert
unnecessary local changes
This is an automated email from the ASF dual-hosted git repository.
jshao pushed a commit to branch branch-0.7
in repository https://gitbox.apache.org/repos/asf/incubator-livy.git
The following commit(s) were added to refs/heads/branch-0.7 by this push:
new 3ae0e65 [Minor] Revert unnecessary local changes
3ae0e65 is described below
commit 3ae0e6575b0c5858e081e72f69ff23e042424fcf
Author: jerryshao <je...@tencent.com>
AuthorDate: Mon Dec 16 14:38:39 2019 +0800
[Minor] Revert unnecessary local changes
---
dev/release-build.sh | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/dev/release-build.sh b/dev/release-build.sh
index a1a30a5..5c3bbc2 100755
--- a/dev/release-build.sh
+++ b/dev/release-build.sh
@@ -122,8 +122,8 @@ if [[ "$1" == "package" ]]; then
echo "Packaging release tarballs"
cp -r incubator-livy $ARCHIVE_NAME_PREFIX
zip -r $SRC_ARCHIVE $ARCHIVE_NAME_PREFIX
- echo $GPG_PASSPHRASE | $GPG --passphrase-fd 0 --armour --output $SRC_ARCHIVE.asc --detach-sig $SRC_ARCHIVE
- echo $GPG_PASSPHRASE | $GPG --passphrase-fd 0 --print-md SHA512 $SRC_ARCHIVE > $SRC_ARCHIVE.sha512
+ echo "" | $GPG --passphrase-fd 0 --armour --output $SRC_ARCHIVE.asc --detach-sig $SRC_ARCHIVE
+ echo "" | $GPG --passphrase-fd 0 --print-md SHA512 $SRC_ARCHIVE > $SRC_ARCHIVE.sha512
rm -rf $ARCHIVE_NAME_PREFIX
# Updated for binary build
@@ -135,8 +135,8 @@ if [[ "$1" == "package" ]]; then
echo "Copying and signing regular binary distribution"
cp assembly/target/$BIN_ARCHIVE .
- echo $GPG_PASSPHRASE | $GPG --passphrase-fd 0 --armour --output $BIN_ARCHIVE.asc --detach-sig $BIN_ARCHIVE
- echo $GPG_PASSPHRASE | $GPG --passphrase-fd 0 --print-md SHA512 $BIN_ARCHIVE > $BIN_ARCHIVE.sha512
+ echo "" | $GPG --passphrase-fd 0 --armour --output $BIN_ARCHIVE.asc --detach-sig $BIN_ARCHIVE
+ echo "" | $GPG --passphrase-fd 0 --print-md SHA512 $BIN_ARCHIVE > $BIN_ARCHIVE.sha512
cp $BIN_ARCHIVE* ../
cd ..
@@ -192,7 +192,7 @@ if [[ "$1" == "publish-release" ]]; then
echo "Creating hash and signature files"
for file in $(find . -type f)
do
- echo $GPG_PASSPHRASE | $GPG --passphrase-fd 0 --output $file.asc \
+ echo "" | $GPG --passphrase-fd 0 --output $file.asc \
--detach-sig --armour $file;
if [ $(command -v md5) ]; then
# Available on OS X; -q to keep only hash