diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-02-16 13:18:43 -0600 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-02-16 13:18:43 -0600 |
commit | 812e7e482eb48876a2decdf02cee37f24374f65b (patch) | |
tree | 5fafe98601d4b1d4e43f991dc043d8da231d9423 | |
parent | af41d689dfd76870635f6a66bff8b1f987aca026 (diff) | |
download | gitlab-ce-812e7e482eb48876a2decdf02cee37f24374f65b.tar.gz |
move "Install node modules" step before "Migrate DB" within update process
-rw-r--r-- | lib/gitlab/upgrader.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/upgrader.rb b/lib/gitlab/upgrader.rb index 23a5a868d79..7fd4935191c 100644 --- a/lib/gitlab/upgrader.rb +++ b/lib/gitlab/upgrader.rb @@ -60,8 +60,8 @@ module Gitlab "Get latest code" => %W(#{Gitlab.config.git.bin_path} fetch), "Switch to new version" => %W(#{Gitlab.config.git.bin_path} checkout v#{latest_version}), "Install gems" => %W(bundle), - "Migrate DB" => %W(bundle exec rake db:migrate), "Install node modules" => %W(npm install --production), + "Migrate DB" => %W(bundle exec rake db:migrate), "Recompile assets" => %W(bundle exec rake gitlab:assets:clean gitlab:assets:compile), "Clear cache" => %W(bundle exec rake cache:clear) } |