mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
parent
3323eb80fa
commit
15085fd952
2 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,7 @@ https://github.com/capistrano/capistrano/compare/v3.5.0...HEAD
|
|||
* Make name of current directory configurable via configuration variable `:current_directory` (@websi)
|
||||
* `doctor` no longer erroneously warns that `:git_strategy` and other SCM options are "unrecognized" (@shanesaww)
|
||||
* Add `net-ssh` gem version to `doctor:gems` output (@lebedev-yury)
|
||||
* Deprecate `remote_file` feature (will be removed in Capistrano 3.7.0) (@lebedev-yury)
|
||||
|
||||
## `3.5.0`
|
||||
|
||||
|
|
|
@ -18,6 +18,9 @@ module Capistrano
|
|||
end
|
||||
|
||||
def remote_file(task)
|
||||
warn("[Deprecation Warning] `remote_file` is deprecated and will be "\
|
||||
"removed in Capistrano 3.7.0")
|
||||
|
||||
target_roles = task.delete(:roles) { :all }
|
||||
define_remote_file_task(task, target_roles)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue