Mattermost Server - Upgrade Script

Upgrading a Mattermost Server is not complicated, but requires some steps that can be mostly automated. I'm watching 'Releases only' on the GitHub repository to get a notification when a new version is available and start the script manually. Below script assumes, that Mattermost is installed at the default location…