Skip to content

pchalupa/release-it-webhook

Repository files navigation

Release-it Webhook

Plugin for release-it which makes a request against provided webhook url.

Install

npm install --save-dev release-it-webhook

Configuration

In release-it plugins config:

"plugins": {
  "release-it-webhook": {
	"webhook": {
		"url": "https://hooks.slack.com/triggers/...."
	}
  }
}

Webhook

The request body contain this payload:

{
	"name": "..."
	"version": "..."
	"changelog": "..."
}