semantic-release-mattermost
v1.2.2
Published
semantic-release plugin to get release notifications on mattermost via webhooks
Downloads
15,716
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-mattermost
Yarn
yarn add semantic-release-mattermost
Usage
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.