lib/capistrano/tasks/wp.cap in capistrano-cul-0.0.14 vs lib/capistrano/tasks/wp.cap in capistrano-cul-0.0.15
- old
+ new
@@ -1,10 +1,10 @@
CUL_ALLOWED_UPLOAD_TYPES_PLUGIN_NAME = 'cul-allowed-upload-types'
CUL_ALLOWED_UPLOAD_TYPES_REPO_URL = "https://github.com/cul/#{CUL_ALLOWED_UPLOAD_TYPES_PLUGIN_NAME}"
# Set cul_allowed_uplaod_types_version here so it can be overridden by env config
-set :cul_allowed_uplaod_types_version, 'v0.2.0'
+set :cul_allowed_uplaod_types_version, 'v0.5.0'
namespace :cul do
namespace :wp do
before 'deploy:starting', 'cul:wp:display_maintenance_mode_warning'
after 'deploy:starting', 'cul:wp:enable_maintenance_mode'
@@ -242,11 +242,11 @@
puts 'Running search and replace. This may take a while for large databases...'
start_time = Time.now
if fetch(:multisite, false)
- puts "Since this is a multisite, you'll need to specify the source multisite url to continue:"
- set :multisite_url, ask('full multisite install url (e.g. https://blogs.cul.columbia.edu)')
+ puts "Since this is a multisite, you'll need to specify the source multisite instance domain to continue:"
+ set :multisite_url, ask('source multisite instance domain (e.g. blogs.cul.columbia.edu)')
execute :wp, "--url=#{fetch(:multisite_url)}", 'search-replace', "'#{fetch(:search_string)}'", "'#{fetch(:replacement_string)}'", '--all-tables', '--skip-columns=guid'
else
execute :wp, 'search-replace', "'#{fetch(:search_string)}'", "'#{fetch(:replacement_string)}'", '--skip-columns=guid'
end