Skip to content

zachspar/semantic-release-gha-output

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"
  ]
}