Skip to content
Browse files

bug fixes (issue 27)

  • Loading branch information...
2 parents 8467d25 + 83ea1ff commit 13eb2d4096cc51ff57f34214eda18998afc2b384 @jjohnson-xx jjohnson-xx committed Nov 27, 2012
Showing with 10 additions and 7 deletions.
  1. +5 −2 CHANGELOG.rdoc
  2. +1 −1 VERSION
  3. +4 −4 lib/ash/wordpress.rb
View
7 CHANGELOG.rdoc
@@ -1,3 +1,6 @@
+== 1.2.3
+* FIXED: Issue #27 - Wordpress symlinking uploads and cache directories to the previous release instead of the newest release
+
== 1.1.18
* FIXED: deploy:setup_backup now also attempts to create the :tmp_backups_path directory
* added deploy:setup_backup to the backup:default stack so it's always called first (no more messy task chains!)
@@ -23,7 +26,7 @@
== 1.1.12
* Applied dficker's proposed patch for issue #11
-* Added the `remote_dir_exists?` method to the `lib/ash/common.rb`
+* Added the `remote_dir_exists?` method to the `lib/ash/common.rb`
** TODO: better tasks to test if a remote directory exists
* Added some Drupal Ubercart methods to help secure Ubercart encryption keys and downloadable products
@@ -68,7 +71,7 @@
== 0.0.13
-* Jake added WordPress recipe
+* Jake added WordPress recipe
== 0.0.12
View
2 VERSION
@@ -1 +1 @@
-1.2.2
+1.2.3
View
8 lib/ash/wordpress.rb
@@ -61,10 +61,10 @@
# Wordpress-specific methods
# --------------------------------------------
namespace :wordpress do
- desc "Links the correct settings file"
+ desc "Links the correct settings file as well as the uploads and cache directories"
task :symlink, :roles => :web, :except => { :no_release => true } do
- run "ln -nfs #{shared_path}/uploads #{current_release}/#{uploads_path}"
- run "ln -nfs #{shared_path}/cache #{current_release}/wp-content/cache"
+ run "ln -nfs #{shared_path}/uploads #{latest_release}/#{uploads_path}"
+ run "ln -nfs #{shared_path}/cache #{latest_release}/wp-content/cache"
symlink_confg
end
@@ -99,4 +99,4 @@
end
end
-end
+end

0 comments on commit 13eb2d4

Please sign in to comment.
Something went wrong with that request. Please try again.