1
0
mirror of https://github.com/fluencelabs/redis synced 2025-07-20 02:51:55 +00:00
Files
deps
src
tests
utils
hyperloglog
lru
releasetools
00_test_release.sh
01_create_tarball.sh
02_upload_tarball.sh
03_release_hash.sh
build-static-symbols.tcl
generate-command-help.rb
install_server.sh
redis-copy.rb
redis-sha1.rb
redis_init_script
redis_init_script.tpl
speed-regression.tcl
whatisdoing.sh
.gitignore
00-RELEASENOTES
BUGS
CONTRIBUTING
COPYING
INSTALL
MANIFESTO
Makefile
README
redis.conf
runtest
runtest-cluster
runtest-sentinel
sentinel.conf
redis/utils/releasetools/01_create_tarball.sh

16 lines
314 B
Bash
Raw Normal View History

#!/bin/sh
if [ $# != "1" ]
then
echo "Usage: ./mkrelease.sh <git-ref>"
exit 1
fi
TAG=$1
TARNAME="redis-${TAG}.tar"
echo "Generating /tmp/${TARNAME}"
cd ~/hack/redis
git archive $TAG --prefix redis-${TAG}/ > /tmp/$TARNAME || exit 1
echo "Gizipping the archive"
rm -f /tmp/$TARNAME.gz
gzip -9 /tmp/$TARNAME