feat: Add release-id output (#101)

This commit is contained in:
Ardalan Amini authored and GitHub committed 2022-08-28 23:05:17 +04:30
1 parent 2600f0082f
commit d07a4a7481
5 files changed
+21 -3

No files matched your search

+7
View File
@@ -19,6 +19,7 @@ Automatic Changelog generator
- [Outputs](#outputs)
- [Changelog](#changelog)
- [Pre-release](#prerelease)
- [Release ID](#release-id)
- [Example Usage](#example-usage)
## Usage
@@ -180,6 +181,12 @@ Indicates whether it's a pre-release or not.
> if semver is set to `true`, otherwise this output will always return `false`.
#### `release-id`
The pre-release id in case of prerelease being `true`, `latest` otherwise. (e.g. `alpha`, `beta`, `rc`, `canary`)
> if semver is set to `true`, otherwise this output will always return `latest`.
### Example Usage
Using with default inputs: