Skip to content

Commit

Permalink
Merge pull request #473 from gedsed/patch-1
Browse files Browse the repository at this point in the history
symfony:assets:update_version executed before composer
  • Loading branch information
willdurand committed Feb 11, 2014
2 parents 434740b + 52c3819 commit 2043a20
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/capifony_symfony2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,10 @@ def capifony_progress_update(current, total)
end

after "deploy:finalize_update" do
if update_assets_version
symfony.assets.update_version # Update `assets_version`
end

if use_composer && !use_composer_tmp
if update_vendors
symfony.composer.update
Expand All @@ -302,10 +306,6 @@ def capifony_progress_update(current, total)
symfony.composer.dump_autoload
end

if update_assets_version
symfony.assets.update_version # Update `assets_version`
end

if assets_install
symfony.assets.install # Install assets
end
Expand Down

0 comments on commit 2043a20

Please sign in to comment.