2
0

02_upload_tarball.sh 304 B

123456
  1. #!/bin/bash
  2. echo "Uploading..."
  3. scp /tmp/redis-${1}.tar.gz antirez@antirez.com:/var/virtual/download.redis.io/httpdocs/releases/
  4. echo "Updating web site... (press any key if it is a stable release, or Ctrl+C)"
  5. read x
  6. ssh antirez@antirez.com "cd /var/virtual/download.redis.io/httpdocs; ./update.sh ${1}"