summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-04-11 10:21:25 +0000
committerRémy Coutable <remy@rymai.me>2017-04-11 10:21:25 +0000
commit9004f000ab930474a0af58bd6ee5ffaa3e22332c (patch)
tree43ca955f3c7c60f7d02fcd2f604ae6142904c068
parentbafbd3d292b07b9ed099bd39987ef1231359aa40 (diff)
parent177e9c33291aaaaad42b7d507172fdb8bb590108 (diff)
downloadgitlab-ce-9004f000ab930474a0af58bd6ee5ffaa3e22332c.tar.gz
Merge branch 'patch-15' into 'master'
Set NODE_ENV for yarn:install in patch_versions.md See merge request !10521
-rw-r--r--doc/update/patch_versions.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/update/patch_versions.md b/doc/update/patch_versions.md
index 1c493599cf8..f69d567eeb7 100644
--- a/doc/update/patch_versions.md
+++ b/doc/update/patch_versions.md
@@ -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