redict/utils/releasetools/02_upload_tarball.sh
2014-09-19 18:19:19 +02:00

6 lines
244 B
Bash
Executable File

#!/bin/bash
echo "Uploading..."
scp /tmp/redis-${1}.tar.gz antirez@antirez.com:/var/virtual/download.redis.io/httpdocs/releases/
echo "Updating web site..."
ssh antirez@antirez.com "cd /var/virtual/download.redis.io/httpdocs; ./update.sh ${1}"