diff --git a/README.md b/README.md index 16fe8f7..157249f 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,6 @@ docker-compose build docker-compose run -d ``` - If you just want to test locally, you can find [here](https://github.com/banzo/mattermost-docker/tree/feature/hubot-matteruser) a fork of the [official Mattermost Docker Compose stack](https://github.com/mattermost/mattermost-docker) plugged to Hubot-Matteruser: @@ -93,12 +92,10 @@ If you just want to test locally, you can find [here](https://github.com/banzo/m ### 1) Install a Mattermost server -Follow the [Mattermost install guides](https://docs.mattermost.com/guides/administrator.html#install-guides) to set up the latest version of Mattermost 4.4.x. +Follow the [Mattermost install guides](https://docs.mattermost.com/guides/administrator.html#install-guides) to set up the latest version of Mattermost 5.4.x. **IMPORTANT:** Make sure your `hubot-matteruser` and `mattermost-client` versions **match** the major version of your Mattermost server so the API versions will match. -For example, if you're using Mattermost server version 4.4.0 the _major version_ is "4.4", and it is highly recommended to use version 4.4.x of `hubot-matteruser` and `mattermost-client`. See [releases archive](https://github.com/loafoe/hubot-matteruser/releases) for older versions. - ### 2) Install hubot-matteruser On a separate server, install `hubot-matteruser` using the following commands: @@ -142,12 +139,12 @@ export MATTERMOST_PASSWORD=s3cr3tP@ssw0rd! ## Upgrade -To upgrade your Hubot for Mattermost 4.4.x, find the `package.json` file in your Hubot directory and look for the line in the `dependencies` section that references `hubot-matteruser`. Change the verion so it points to `^4.4.0` of the client. Example: +To upgrade your Hubot for Mattermost 4.4.x, find the `package.json` file in your Hubot directory and look for the line in the `dependencies` section that references `hubot-matteruser`. Change the verion so it points to `^5.1.0` of the client. Example: ```json ... "dependencies": { - "hubot-matteruser": "^4.4.0" + "hubot-matteruser": "^5.1.0" }, ... ``` diff --git a/package.json b/package.json index eabf49e..649dfb2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hubot-matteruser", - "version": "5.0.0", + "version": "5.1.0", "author": { "name": "Andy Lo-A-Foe", "url": "https://aemian.com/" @@ -24,7 +24,7 @@ }, "main": "./src/matteruser.js", "dependencies": { - "mattermost-client": "git://github.com/loafoe/mattermost-client.git#feature/personal-access-token-support", + "mattermost-client": "^6.0.0", "parent-require": "^1.0.0", "q": "^1.4.1" },