summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Bruckner <janbruckner@gmail.com>2017-08-11 12:53:28 +0000
committerJan Bruckner <janbruckner@gmail.com>2017-08-11 12:53:28 +0000
commit2571cde726df7d9236591634b2ed9ebea89358cc (patch)
treeffa301a9c1b9a53ea175437b21c33bcff0a41c6e
parentc62ae6cfd70d518386fdbcb9714d18ac4f5e8c31 (diff)
downloadgitlab-ce-2571cde726df7d9236591634b2ed9ebea89358cc.tar.gz
Fix formatting of patch_versions.md
[skip ci]
-rw-r--r--doc/update/patch_versions.md18
1 files changed, 7 insertions, 11 deletions
diff --git a/doc/update/patch_versions.md b/doc/update/patch_versions.md
index 12408123158..30107360446 100644
--- a/doc/update/patch_versions.md
+++ b/doc/update/patch_versions.md
@@ -56,21 +56,17 @@ sudo -u git -H bundle clean
# Run database migrations
sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
-### 4. Compile GetText PO files
-
-Internationalization was added in `v9.2.0` so these commands are only
-required for versions equal or major to it.
-
-```bash
+# Compile GetText PO files
+# Internationalization was added in `v9.2.0` so these commands are only
+# required for versions equal or major to it.
sudo -u git -H bundle exec rake gettext:pack RAILS_ENV=production
sudo -u git -H bundle exec rake gettext:po_to_json 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 NODE_ENV=production
```
-### 5. Update gitlab-workhorse to the corresponding version
+### 4. Update gitlab-workhorse to the corresponding version
```bash
cd /home/git/gitlab
@@ -78,7 +74,7 @@ cd /home/git/gitlab
sudo -u git -H bundle exec rake "gitlab:workhorse:install[/home/git/gitlab-workhorse]" RAILS_ENV=production
```
-### 6. Update gitlab-shell to the corresponding version
+### 5. Update gitlab-shell to the corresponding version
```bash
cd /home/git/gitlab-shell
@@ -88,14 +84,14 @@ sudo -u git -H git checkout v`cat /home/git/gitlab/GITLAB_SHELL_VERSION` -b v`ca
sudo -u git -H sh -c 'if [ -x bin/compile ]; then bin/compile; fi'
```
-### 7. Start application
+### 6. Start application
```bash
sudo service gitlab start
sudo service nginx restart
```
-### 8. Check application status
+### 7. Check application status
Check if GitLab and its environment are configured correctly: