mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Make cold_deploy call update directly instead of deploy to avoid a restart
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@5943 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
8a58011dde
commit
988fb52df3
2 changed files with 5 additions and 3 deletions
|
@ -1,6 +1,8 @@
|
||||||
*SVN*
|
*SVN*
|
||||||
|
|
||||||
* Make the touch command run by update_code set the TZ to UTC, for consistent setting of asset timestampes. [NeilW]
|
* Make cold_deploy call update instead of deploy (to avoid invoking the restart task).
|
||||||
|
|
||||||
|
* Make the touch command run by update_code set the TZ to UTC, for consistent setting of asset timestamps. [NeilW]
|
||||||
|
|
||||||
* Fix off-by-one bug in show_tasks width-computation [NeilW]
|
* Fix off-by-one bug in show_tasks width-computation [NeilW]
|
||||||
|
|
||||||
|
|
|
@ -245,11 +245,11 @@ task :spinner, :roles => :app do
|
||||||
end
|
end
|
||||||
|
|
||||||
desc <<-DESC
|
desc <<-DESC
|
||||||
Used only for deploying when the spinner isn't running. It invokes deploy,
|
Used only for deploying when the spinner isn't running. It invokes 'update',
|
||||||
and when it finishes it then invokes the spinner task (to start the spinner).
|
and when it finishes it then invokes the spinner task (to start the spinner).
|
||||||
DESC
|
DESC
|
||||||
task :cold_deploy do
|
task :cold_deploy do
|
||||||
deploy
|
update
|
||||||
spinner
|
spinner
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue