Skip to content
Browse files

copy version file too

  • Loading branch information...
1 parent 0e6de5d commit f2d2836201fb854f43a49ce5da3d8510e4749438 @parndt parndt committed Feb 25, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/refinery-update-core
View
2 bin/refinery-update-core
@@ -9,7 +9,7 @@ unless RAILS_ROOT.nil? or RAILS_ROOT.length == 0
FileUtils::makedirs dirs.map {|dir| File.join(RAILS_ROOT, dir) }
# copy in the new assets.
- assets = [%w(public stylesheets refinery), %w(public javascripts refinery), %w(public javascripts wymeditor)]
+ assets = [%w(public stylesheets refinery), %w(public javascripts refinery), %w(public javascripts wymeditor), %w(VERSION)]
assets.each do |asset|
FileUtils::rm_rf File.join(RAILS_ROOT, asset), :secure => true # ensure the destination is clear.
FileUtils::cp_r File.join(REFINERY_ROOT, asset), File.join(RAILS_ROOT, asset) # copy the new assets into the project.

0 comments on commit f2d2836

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