Wordpress symlink task symlinks to old release rather than the latest version #27

Closed
grafikchaos opened this Issue Nov 26, 2012 · 0 comments

Projects

None yet

1 participant

@grafikchaos
Member

Wordpress symlink task symlinks folders to previous release (current_release) rather than the latest release. Simply change current_release to latest_release in the following block of code

namespace :wordpress do
  desc "Links the correct settings file"
  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"
    symlink_confg
  end

 # ... more code ...

end
@grafikchaos grafikchaos was assigned Nov 26, 2012
@grafikchaos grafikchaos pushed a commit that closed this issue Nov 27, 2012
@jjohnson-xx jjohnson-xx closes #27 a374b1f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment