Exciting release!Introducing "safe npm". Learn more
Socket
Log inDemoInstall

@intuit/semantic-release-slack

Package Overview
Dependencies
7
Maintainers
5
Versions
8
Issues
File Explorer

Advanced tools

@intuit/semantic-release-slack

Post slack notifications to a webhook on success or failure of a semantic-release job

    1.0.8latest
    GitHub

Version published
Maintainers
5
Weekly downloads
621
decreased by-22.76%

Weekly downloads

Changelog

Source

v1.0.8

1.0.8 (2023-01-31)

Bug Fixes

  • deps: update dependency node-fetch to v2.6.9 (#273) (cea361c)

Readme

Source

@intuit/semantic-release-slack

npm CircleCI Known Vulnerabilities Renovate enabled code style: prettier semantic-release


Post slack notifications to a webhook on success or failure of a semantic-release job

StepDescription
verifyConditionsVerify the SLACK_WEBHOOK_URL environment variable is set.
successSend a formatted message to the slack webhook provided with information about the most recent release
failSend a formatted message to the slack webhook if the release fails

Installation

yarn add --dev @intuit/semantic-release-slack

Usage

Add the following to your release.config.js

"plugins": [ // ... ["@intuit/semantic-release-slack", { // These are the available platforms that the package can be downloaded from "platforms": ["brew", "npm", "docker"] }] ],

Ensure you have a webhook url in your process.env under the name SLACK_WEBHOOK_URL. The hook is expected to contain https://hooks.slack.com in the URL. Without this, your release will fail because the plugin won't know where to post to.

Options

PropertyTypeDefaultExampleDescription
platformsString[]undefined"platforms": ["brew", "npm"]Available platforms that the package can be downloaded from. Can be anything. Supported emoji
skipCommitStringundefined"skipCommit": "^fix\\(deps\\):"Skips notifying when regex matches at least one commit in the release
semverFilterString[]["major", "minor", "patch"]"semverFilter": ["major", "minor"]Skips releases that do not match one of the configured types
fullReleaseNotesBooleanfalse"fullReleaseNotes": trueProvides the full release notes in slack instead of a link to the release notes

FAQs

Last updated on 31 Jan 2023

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket
support@socket.devSocket SOC 2 Logo

Product

  • Package Issues
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc