Skip to content

Commit

Permalink
Fixes to release scripts (redis#7547)
Browse files Browse the repository at this point in the history
  • Loading branch information
oranagra authored Jul 21, 2020
1 parent f7f77a7 commit 343dd9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions utils/releasetools/03_test_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
3 changes: 1 addition & 2 deletions utils/releasetools/04_release_hash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 343dd9b

Please sign in to comment.