Update command to checkout latest release.

The git tag command was incorrectly checking out release candidates instead of the latest release. Fixes #309
This commit is contained in:
Aral Balkan 2017-06-15 17:22:04 +02:00 committed by GitHub
parent c833b8328f
commit 61d6d17904
1 changed files with 2 additions and 2 deletions

View File

@ -220,7 +220,7 @@ And enter the following commands:
cd ~
git clone https://github.com/tootsuite/mastodon.git live
cd live
git checkout $(git tag | tail -n 1)
git checkout $(git tag -l | sort -V | tail -n 1)
Then you can proceed to install project dependencies:
@ -340,7 +340,7 @@ If you want a stable release for production use, you should use tagged releases.
```sh
cd ~mastodon/live/
git fetch
git checkout $(git tag | tail -n 1)
git checkout $(git tag -l | sort -V | tail -n 1)
```
As part of your deploy, you may need to run: