1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

don't run the upgrade:revisions task on non-release servers

git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7857 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jamis Buck 2007-10-13 14:10:32 +00:00
parent 78c801dc74
commit 0b4a0620fd
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
*SVN*
* Don't run the upgrade:revisions task on non-release servers [Jamis Buck]
* Fix cap shell to properly recognize sudo prompt [Mark Imbriaco, barnaby, Jamis Buck]
* Git SCM module [Garry Dolley, Geoffrey Grosenbach, Scott Chacon]

View file

@ -10,7 +10,7 @@ namespace :upgrade do
tag file used in Capistrano 2.x. It is non-destructive and may be safely \
run any number of times.
DESC
task :revisions do
task :revisions, :except => { :no_release => true } do
revisions = capture("cat #{deploy_to}/revisions.log")
mapping = {}