Skip to content

ttrobisch/semantic-release-mattermost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published