02_upload_tarball.sh fixes.

This commit is contained in:
antirez 2014-09-19 18:19:19 +02:00
parent 44acd50a11
commit 07bd52113e

View File

@ -1,3 +1,5 @@
#!/bin/bash #!/bin/bash
scp /tmp/redis-${1} antirez@antirez.com:/var/virtual/download.redis.io/httpdocs/releases/ echo "Uploading..."
ssh antirez@antirez.com 'cd /var/virtual/download.redis.io/httpdocs; ./update.sh ${1}' 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}"