mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 00:52:38 +00:00
add tarball script added
This commit is contained in:
parent
5ef8f9531d
commit
2f91d7ada4
13
utils/mktarball.sh
Executable file
13
utils/mktarball.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$1" = "" ]
|
||||
then
|
||||
echo "Usage: mktarball.sh <git tag, branch or commit>"
|
||||
echo "Example: mktarball.sh 2.2-rc4"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
PREFIX="redis-${1}/"
|
||||
TARBALL="/tmp/redis-${1}.tar.gz"
|
||||
git archive --format=tar --prefix=$PREFIX $1 | gzip -c > $TARBALL
|
||||
echo "File created: $TARBALL"
|
Loading…
Reference in New Issue
Block a user