Expose the pre-release label as an output

This commit is contained in:
Phil Jay
2022-05-12 15:44:33 +10:00
parent 8d649fcfa3
commit e53268eb3f
3 changed files with 8 additions and 2 deletions

View File

@@ -9,7 +9,7 @@
uses: actions/checkout@v2
- name: Get next version
uses: reecetech/version-increment@2022.2.4
uses: reecetech/version-increment@2022.5.1
id: version
with:
scheme: semver
@@ -91,6 +91,7 @@ Examples:
| major-version | Major number of the incremented version |
| minor-version | Minor number of the incremented version |
| patch-version | Patch number of the incremented version |
| pre-release-label | Pre-release label of the incremented version |
| major-v-version | Major number of the incremented version, prefixed with a `v` character |
| minor-v-version | Minor number of the incremented version, prefixed with a `v` character |
| patch-v-version | Patch number of the incremented version, prefixed with a `v` character |