capobvious 1.3.pre13 → 1.3.pre14
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/capobvious/recipes/assets.rb +1 -1
- data/lib/capobvious/version.rb +1 -1
- metadata +1 -1
@@ -15,7 +15,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
15
15
|
end
|
16
16
|
desc "Assets precompile"
|
17
17
|
task :precompile, :roles => :web, :except => { :no_release => true } do
|
18
|
-
if exists?(:turbo_sprockets_rails3) && fetch(:turbo_sprockets_rails3) && !previous_release.
|
18
|
+
if exists?(:turbo_sprockets_rails3) && fetch(:turbo_sprockets_rails3) && !previous_release.nil? && !latest_release.nil? && previous_release != latest_release
|
19
19
|
logger.info "Copying assets folder of previous release for turbo-sprockets-rails3 gem"
|
20
20
|
run("cp -r #{previous_release}/public/assets #{latest_release}/public/")
|
21
21
|
end
|
data/lib/capobvious/version.rb
CHANGED