capistrano-ash 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/capistrano-ash.gemspec +1 -1
- data/lib/ash/drupal.rb +3 -5
- data/lib/ash/wordpress.rb +0 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.3
|
data/capistrano-ash.gemspec
CHANGED
data/lib/ash/drupal.rb
CHANGED
@@ -95,11 +95,9 @@ configuration.load do
|
|
95
95
|
desc "Symlink shared directories"
|
96
96
|
task :symlink, :except => { :no_release => true } do
|
97
97
|
multisites.each_pair do |folder, url|
|
98
|
-
run
|
99
|
-
|
100
|
-
|
101
|
-
#{drush_bin} -l #{url} -r #{current_path} vset --yes file_directory_path sites/#{url}/files
|
102
|
-
CMD
|
98
|
+
run "ln -nfs #{shared_path}/#{url}/files #{latest_release}/sites/#{url}/files"
|
99
|
+
run "ln -nfs #{latest_release}/sites/#{url}/settings.php.#{stage} #{latest_release}/sites/#{url}/settings.php"
|
100
|
+
run "#{drush_bin} -l #{url} -r #{current_path} vset --yes file_directory_path sites/#{url}/files"
|
103
101
|
end
|
104
102
|
end
|
105
103
|
|
data/lib/ash/wordpress.rb
CHANGED
@@ -60,7 +60,6 @@ namespace :wordpress do
|
|
60
60
|
run "ln -nfs #{shared_path}/uploads #{current_release}/#{uploads_path}"
|
61
61
|
run "ln -nfs #{shared_path}/cache #{current_release}/wp-content/cache"
|
62
62
|
run "ln -nfs #{latest_release}/wp-config.php.#{stage} #{latest_release}/wp-config.php"
|
63
|
-
CMD
|
64
63
|
end
|
65
64
|
|
66
65
|
desc "Set URL in database"
|