mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2026-04-20 21:25:44 +00:00
feat(outputs): Add outputs related to new release version
Add outputs related to new release version - `new-release-version`: Version of the new release - `new-release-major-version`: Major version of the new release - `new-release-minor-version`: Minor version of the new release - `new-release-patch-version`: Patch version of the new release
This commit is contained in:
parent
150d0509de
commit
12a1a39975
4 changed files with 31 additions and 6 deletions
|
|
@ -22,6 +22,10 @@ GitHub Action for [Semantic Release](https://github.com/semantic-release/semanti
|
|||
* `dry_run`: [Optional] Whether to run semantic release in "dry-run" mode. It will override the dryRun attribute in your configuration file. Default `""`.
|
||||
* outputs:
|
||||
* `new-release-published`: Whether a new release was published. `true` or `false`
|
||||
* `new-release-version`: Version of the new release
|
||||
* `new-release-major-version`: Major version of the new release
|
||||
* `new-release-minor-version`: Minor version of the new release
|
||||
* `new-release-patch-version`: Patch version of the new release
|
||||
|
||||
A simple example
|
||||
```yaml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue