From 343dd9bcce0ce28d131510e28bac411599da90b0 Mon Sep 17 00:00:00 2001 From: Oran Agra Date: Tue, 21 Jul 2020 14:07:06 +0300 Subject: [PATCH] Fixes to release scripts (#7547) --- utils/releasetools/03_test_release.sh | 1 + utils/releasetools/04_release_hash.sh | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/releasetools/03_test_release.sh b/utils/releasetools/03_test_release.sh index 169e965d5..493d0b74c 100755 --- a/utils/releasetools/03_test_release.sh +++ b/utils/releasetools/03_test_release.sh @@ -14,6 +14,7 @@ echo "Doing sanity test on the actual tarball" cd /tmp rm -rf test_release_tmp_dir +mkdir test_release_tmp_dir cd test_release_tmp_dir rm -f $TARNAME rm -rf redis-${TAG} diff --git a/utils/releasetools/04_release_hash.sh b/utils/releasetools/04_release_hash.sh index bc1ebb66c..d93292803 100755 --- a/utils/releasetools/04_release_hash.sh +++ b/utils/releasetools/04_release_hash.sh @@ -7,8 +7,7 @@ fi SHA=$(curl -s http://download.redis.io/releases/redis-${1}.tar.gz | shasum -a 256 | cut -f 1 -d' ') ENTRY="hash redis-${1}.tar.gz sha256 $SHA http://download.redis.io/releases/redis-${1}.tar.gz" -echo $ENTRY >> ~/hack/redis-hashes/README -vi ../redis-hashes/README +echo $ENTRY >> ../redis-hashes/README echo "Press any key to commit, Ctrl-C to abort)." read yes (cd ../redis-hashes; git commit -a -m "${1} hash."; git push)