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 |
$ npm install semantic-release-gha-output
Output | Description |
---|---|
tag |
Next release git tag. |
version |
Next release version. |
published |
Boolean string to indicate whether a new release was published. |
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"
]
}