semantic-release-mattermost
v1.2.3
Published
semantic-release plugin to get release notifications on mattermost via webhooks
Readme
semantic-release-mattermost
semantic-release plugin to get release notifications on mattermost via webhooks
Install
Add the plugin to your npm-project
NPM
npm install semantic-release-mattermostYarn
yarn add semantic-release-mattermostUsage
Add the plugin to your semantic-release config:
{
"plugins": [
"@semantic-release/release-notes-generator",
[
"semantic-release-mattermost",
{
"webhook": "https://mattermost.example.com",
"username": "semantic-release",
"name": "project name",
"channel": "channel-name"
}
]
]
}Environment variable
If the MATTERMOST_WEBHOOK environment variable is defined in your environment,
it will be used instead of the webhook provided in the config.
If the CI_PROJECT_NAME environment variable is defined in your environment,
it will be used instead of the name provided in the config.
channel and username can be optionally used to override webhook details.
