Merge branch 'patch-15' into 'master'

Set NODE_ENV for yarn:install in patch_versions.md

See merge request !10521
This commit is contained in:
Rémy Coutable 2017-04-11 10:21:25 +00:00
commit 9004f000ab

View file

@ -57,7 +57,7 @@ sudo -u git -H bundle clean
sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
# Clean up assets and cache
sudo -u git -H bundle exec rake yarn:install gitlab:assets:clean gitlab:assets:compile cache:clear RAILS_ENV=production
sudo -u git -H bundle exec rake yarn:install gitlab:assets:clean gitlab:assets:compile cache:clear RAILS_ENV=production NODE_ENV=production
```
### 4. Update gitlab-workhorse to the corresponding version