Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.84 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.84 KB

semantic-release-gha-output

npm

A semantic-release plugin to output values from a GitHub Action.

Step Description
verifyConditions Sets GitHub Action output variable published to false
verifyRelease Sets GitHub Action output variables tag & version
success Sets GitHub Action output variable published to true

Install

$ npm install semantic-release-gha-output

Outputs

Output Description
tag Next release git tag.
version Next release version.
published Boolean string to indicate whether a new release was published.

Usage

The plugin can be configured in the semantic-release configuration file or via CLI:

{
  "plugins": [
    "@semantic-release/commit-analyzer",
    "@semantic-release/release-notes-generator",
    "@semantic-release/github",
    "semantic-release-gha-output"
  ]
}