mirror of
http://github.com/valkey-io/valkey
synced 2024-11-21 16:46:15 +00:00
upadate release tool script to valkey (#239)
Updated release-tool scripts to valkey, This PR covered only the file names for the tarball but still location needs to be updated accordingly. Signed-off-by: Shivshankar-Reddy <shiva.sheri.github@gmail.com>
This commit is contained in:
parent
e71be72745
commit
a4da212f11
@ -6,9 +6,9 @@ then
|
||||
fi
|
||||
|
||||
TAG=$1
|
||||
TARNAME="redis-${TAG}.tar"
|
||||
TARNAME="valkey-${TAG}.tar"
|
||||
echo "Generating /tmp/${TARNAME}"
|
||||
git archive $TAG --prefix redis-${TAG}/ > /tmp/$TARNAME || exit 1
|
||||
git archive $TAG --prefix valkey-${TAG}/ > /tmp/$TARNAME || exit 1
|
||||
echo "Gizipping the archive"
|
||||
rm -f /tmp/$TARNAME.gz
|
||||
gzip -9 /tmp/$TARNAME
|
||||
|
@ -6,18 +6,18 @@ then
|
||||
fi
|
||||
|
||||
echo "Uploading..."
|
||||
scp /tmp/redis-${1}.tar.gz ubuntu@host.redis.io:/var/www/download/releases/
|
||||
scp /tmp/valkey-${1}.tar.gz ubuntu@host.redis.io:/var/www/download/releases/
|
||||
echo "Updating web site... "
|
||||
echo "Please check the github action tests for the release."
|
||||
echo "Press any key if it is a stable release, or Ctrl+C to abort"
|
||||
read x
|
||||
ssh ubuntu@host.redis.io "cd /var/www/download;
|
||||
rm -rf redis-${1}.tar.gz;
|
||||
rm -rf valkey-${1}.tar.gz;
|
||||
wget http://download.redis.io/releases/redis-${1}.tar.gz;
|
||||
tar xvzf redis-${1}.tar.gz;
|
||||
rm -rf redis-stable;
|
||||
mv redis-${1} redis-stable;
|
||||
tar cvzf redis-stable.tar.gz redis-stable;
|
||||
rm -rf redis-${1}.tar.gz;
|
||||
shasum -a 256 redis-stable.tar.gz > redis-stable.tar.gz.SHA256SUM;
|
||||
rm -rf valkey-stable;
|
||||
mv valkey-${1} valkey-stable;
|
||||
tar cvzf valkey-stable.tar.gz valkey-stable;
|
||||
rm -rf valkey-${1}.tar.gz;
|
||||
shasum -a 256 valkey-stable.tar.gz > valkey-stable.tar.gz.SHA256SUM;
|
||||
"
|
||||
|
@ -7,7 +7,7 @@ then
|
||||
fi
|
||||
|
||||
TAG=$1
|
||||
TARNAME="redis-${TAG}.tar.gz"
|
||||
TARNAME="valkey-${TAG}.tar.gz"
|
||||
DOWNLOADURL="http://download.redis.io/releases/${TARNAME}"
|
||||
|
||||
echo "Doing sanity test on the actual tarball"
|
||||
@ -17,10 +17,10 @@ rm -rf test_release_tmp_dir
|
||||
mkdir test_release_tmp_dir
|
||||
cd test_release_tmp_dir
|
||||
rm -f $TARNAME
|
||||
rm -rf redis-${TAG}
|
||||
rm -rf valkey-${TAG}
|
||||
wget $DOWNLOADURL
|
||||
tar xvzf $TARNAME
|
||||
cd redis-${TAG}
|
||||
cd valkey-${TAG}
|
||||
make
|
||||
./runtest
|
||||
./runtest-sentinel
|
||||
|
@ -6,8 +6,8 @@ then
|
||||
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 >> ../redis-hashes/README
|
||||
ENTRY="hash valkey-${1}.tar.gz sha256 $SHA http://download.redis.io/releases/redis-${1}.tar.gz"
|
||||
echo $ENTRY >> ../valkey-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)
|
||||
(cd ../valkey-hashes; git commit -a -m "${1} hash."; git push)
|
||||
|
@ -15,7 +15,7 @@ if {[llength $::argv] == 3} {
|
||||
|
||||
set template {
|
||||
================================================================================
|
||||
Redis %ver% Released %date%
|
||||
Valkey %ver% Released %date%
|
||||
================================================================================
|
||||
|
||||
Upgrade urgency <URGENCY>: <DESCRIPTION>
|
||||
|
Loading…
Reference in New Issue
Block a user