mirror of
https://github.com/fluencelabs/redis
synced 2025-03-20 17:40:50 +00:00
9 lines
393 B
Bash
9 lines
393 B
Bash
|
#!/bin/bash
|
||
|
SHA=$(curl -s http://download.redis.io/releases/redis-${1}.tar.gz | shasum | cut -f 1 -d' ')
|
||
|
ENTRY="hash redis-${1}.tar.gz sha1 $SHA http://download.redis.io/releases/redis-${1}.tar.gz"
|
||
|
echo $ENTRY >> ~/hack/redis-hashes/README
|
||
|
cat ~/hack/redis-hashes/README
|
||
|
echo "Press any key to commit, Ctrl-C to abort)."
|
||
|
read yes
|
||
|
(cd ~/hack/redis-hashes; git commit -m '${1} hash.'; git push)
|