2014-09-19 17:44:04 +02:00
|
|
|
#!/bin/bash
|
2014-09-19 18:19:19 +02:00
|
|
|
echo "Uploading..."
|
|
|
|
scp /tmp/redis-${1}.tar.gz antirez@antirez.com:/var/virtual/download.redis.io/httpdocs/releases/
|
2014-10-09 11:26:32 +02:00
|
|
|
echo "Updating web site... (press any key if it is a stable release, or Ctrl+C)"
|
|
|
|
read x
|
2014-09-19 18:19:19 +02:00
|
|
|
ssh antirez@antirez.com "cd /var/virtual/download.redis.io/httpdocs; ./update.sh ${1}"
|