And is there an easy fix?
This caused a bit of confusion :)
---
[build@build1 PubSub]$ cap deploy --set branch=0.10
* executing `deploy'
triggering before callbacks for `deploy'
* executing `bsd:checkbranch'
* executing `bsd:deployconfirm'
This will deploy branch 0.1, are you sure? (yes/no): yes
* executing `bsd:createreleasesdir'
* executing "mkdir -p /home/bsdlib/pubsub/releases/version-0.1"
servers: ["rabbitmq1.bluestatedigital.com", "thuse.bluestatedigital.com"]
[rabbitmq1.bluestatedigital.com] executing command
[thuse.bluestatedigital.com] executing command
command finished
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
executing locally: "git ls-remote
ssh://git.bluestatedigital.com/home/git/PubSub.git 0.1"
* refreshing local cache to revision
4159d1c10ca1130a24bcd3278e0dabf94589102f at /tmp/PubSub
executing locally: cd /tmp/PubSub && git fetch -q origin && git
reset -q --hard 4159d1c10ca1130a24bcd3278e0dabf94589102f && git clean
-q -d -x -f
* copying cache to deployment staging area /tmp/20110407145457
compressing /tmp/20110407145457 to /tmp/20110407145457.tar.gz
executing locally: tar czf 20110407145457.tar.gz 20110407145457
servers: ["rabbitmq1.bluestatedigital.com", "thuse.bluestatedigital.com"]
** sftp upload /tmp/20110407145457.tar.gz -> /tmp/20110407145457.tar.gz
[rabbitmq1.bluestatedigital.com] /tmp/20110407145457.tar.gz
[thuse.bluestatedigital.com] /tmp/20110407145457.tar.gz
[rabbitmq1.bluestatedigital.com] done
[thuse.bluestatedigital.com] done
* sftp upload complete
* executing "cd /home/bsdlib/pubsub/releases/version-0.1 && tar xzf
/tmp/20110407145457.tar.gz && rm /tmp/20110407145457.tar.gz"
servers: ["rabbitmq1.bluestatedigital.com", "thuse.bluestatedigital.com"]
[rabbitmq1.bluestatedigital.com] executing command
[thuse.bluestatedigital.com] executing command
command finished
* executing `deploy:finalize_update'
* executing `deploy:symlink'
* executing "rm -f /home/bsdlib/pubsub/0.1 && ln -s
/home/bsdlib/pubsub/releases/version-0.1/20110407145457
/home/bsdlib/pubsub/0.1"
servers: ["rabbitmq1.bluestatedigital.com", "thuse.bluestatedigital.com"]
[rabbitmq1.bluestatedigital.com] executing command
[thuse.bluestatedigital.com] executing command
command finished
** transaction: commit
* executing `deploy:restart'
[build@build1 PubSub]$ cap deploy --set branch="0.10"
* executing `deploy'
triggering before callbacks for `deploy'
* executing `bsd:checkbranch'
* executing `bsd:deployconfirm'
This will deploy branch 0.1, are you sure? (yes/no): yes
* executing `bsd:createreleasesdir'
* executing "mkdir -p /home/bsdlib/pubsub/releases/version-0.1"
servers: ["rabbitmq1.bluestatedigital.com", "thuse.bluestatedigital.com"]
[thuse.bluestatedigital.com] executing command
[rabbitmq1.bluestatedigital.com] executing command
command finished
* executing `deploy:update'
** transaction: start
* executing `deploy:update_code'
executing locally: "git ls-remote
ssh://git.bluestatedigital.com/home/git/PubSub.git 0.1"
* refreshing local cache to revision
4159d1c10ca1130a24bcd3278e0dabf94589102f at /tmp/PubSub
executing locally: cd /tmp/PubSub && git fetch -q origin && git
reset -q --hard 4159d1c10ca1130a24bcd3278e0dabf94589102f && git clean
-q -d -x -f
* copying cache to deployment staging area /tmp/20110407145543
compressing /tmp/20110407145543 to /tmp/20110407145543.tar.gz
executing locally: tar czf 20110407145543.tar.gz 20110407145543
servers: ["rabbitmq1.bluestatedigital.com", "thuse.bluestatedigital.com"]
** sftp upload /tmp/20110407145543.tar.gz -> /tmp/20110407145543.tar.gz
[rabbitmq1.bluestatedigital.com] /tmp/20110407145543.tar.gz
[thuse.bluestatedigital.com] /tmp/20110407145543.tar.gz
[thuse.bluestatedigital.com] done
[rabbitmq1.bluestatedigital.com] done
* sftp upload complete
* executing "cd /home/bsdlib/pubsub/releases/version-0.1 && tar xzf
/tmp/20110407145543.tar.gz && rm /tmp/20110407145543.tar.gz"
servers: ["rabbitmq1.bluestatedigital.com", "thuse.bluestatedigital.com"]
[rabbitmq1.bluestatedigital.com] executing command
[thuse.bluestatedigital.com] executing command
command finished
* executing `deploy:finalize_update'
* executing `deploy:symlink'
* executing "rm -f /home/bsdlib/pubsub/0.1 && ln -s
/home/bsdlib/pubsub/releases/version-0.1/20110407145543
/home/bsdlib/pubsub/0.1"
servers: ["rabbitmq1.bluestatedigital.com", "thuse.bluestatedigital.com"]
[rabbitmq1.bluestatedigital.com] executing command
[thuse.bluestatedigital.com] executing command
command finished
** transaction: commit
* executing `deploy:restart'
--
I tried quoting the "0.10" also, and that didn't work. Our guess is
that it's casting the version into a number somewhere.
Any thoughts?
Thanks a bunch!
-Chris
--
Christopher Patti - Geek At Large | GTalk: [email protected] | AIM:
chrisfeohpatti | P: (260) 54PATTI
"Technology challenges art, art inspires technology." - John Lasseter, Pixar
--
* You received this message because you are subscribed to the Google Groups
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/capistrano?hl=en