summaryrefslogtreecommitdiff
path: root/docs/setup.en.md
diff options
context:
space:
mode:
authorかひわし4(バージョン1) <khws4v1@gmail.com>2019-04-08 21:40:13 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2019-04-08 21:40:13 +0900
commiteb14acbe0c2f2e3897f82a01779daa493d345436 (patch)
tree84e8a63c7bf5854bcf6355333cd36475814664a2 /docs/setup.en.md
parentwip migration (diff)
downloadsharkey-eb14acbe0c2f2e3897f82a01779daa493d345436.tar.gz
sharkey-eb14acbe0c2f2e3897f82a01779daa493d345436.tar.bz2
sharkey-eb14acbe0c2f2e3897f82a01779daa493d345436.zip
Doc: Update installing command (#4655)
Replace the "Checkout to Latest Release" command. Current setup document will checkout latest alpha version. Because grep command in the document does not exclude alpha version tags.
Diffstat (limited to 'docs/setup.en.md')
-rw-r--r--docs/setup.en.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/setup.en.md b/docs/setup.en.md
index 28de1f32f3..2e1706de35 100644
--- a/docs/setup.en.md
+++ b/docs/setup.en.md
@@ -40,7 +40,7 @@ Please install and setup these softwares:
1. `su - misskey` Connect to misskey user.
2. `git clone -b master git://github.com/syuilo/misskey.git` Clone the misskey repo from master branch.
3. `cd misskey` Navigate to misskey directory
-4. `git checkout $(git tag -l | grep -v 'rc[0-9]*$' | sort -V | tail -n 1)` Checkout to the [latest release](https://github.com/syuilo/misskey/releases/latest)
+4. `git checkout $(git tag -l | grep -Ev -- '-(rc|alpha)\.[0-9]+$' | sort -V | tail -n 1)` Checkout to the [latest release](https://github.com/syuilo/misskey/releases/latest)
5. `npm install` Install misskey dependencies.
*5.* Configure Misskey
@@ -109,7 +109,7 @@ You can check if the service is running with `systemctl status misskey`.
### How to update your Misskey server to the latest version
1. `git fetch`
-2. `git checkout $(git tag -l | grep -v 'rc[0-9]*$' | sort -V | tail -n 1)`
+2. `git checkout $(git tag -l | grep -Ev -- '-(rc|alpha)\.[0-9]+$' | sort -V | tail -n 1)`
3. `npm install`
4. `NODE_ENV=production npm run build`
5. Check [ChangeLog](../CHANGELOG.md) for migration information