Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
cc7f4ba6
Commit
cc7f4ba6
authored
Jul 21, 2020
by
Oran Agra
Browse files
Fixes to release scripts (#7547)
(cherry picked from commit
343dd9bc
)
parent
af907e4b
Changes
2
Hide whitespace changes
Inline
Side-by-side
utils/releasetools/03_test_release.sh
View file @
cc7f4ba6
...
...
@@ -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
}
...
...
utils/releasetools/04_release_hash.sh
View file @
cc7f4ba6
...
...
@@ -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
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment