Prevent people from pulling master in production (#71)

This commit is contained in:
Dolf RATTMANN 2017-04-17 00:32:34 +02:00 committed by wxcafé
parent 9c1972673a
commit a893d018ba
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ RAILS_ENV=production
## Things to look out for when upgrading Mastodon
You can upgrade Mastodon with a `git pull` from the repository directory. You may need to run:
You can upgrade Mastodon with a `git fetch; git checkout $(git tag | tail -n 1)` from the repository directory. You may need to run:
- `RAILS_ENV=production bundle exec rails db:migrate`
- `RAILS_ENV=production bundle exec rails assets:precompile`