mirror of
https://github.com/reecetech/version-increment.git
synced 2025-12-23 23:45:44 +00:00
Exposing major, minor and patch numbers as outputs
This commit is contained in:
@@ -32,6 +32,15 @@ outputs:
|
||||
v-version:
|
||||
description: 'Incremented version calculated, prefixed with a `v` charatcter'
|
||||
value: ${{ steps.version-increment.outputs.v-version }}
|
||||
major-version:
|
||||
description: 'Major number of the incremented version'
|
||||
value: ${{ steps.version-increment.outputs.major-version }}
|
||||
minor-version:
|
||||
description: 'Minor number of the incremented version'
|
||||
value: ${{ steps.version-increment.outputs.minor-version }}
|
||||
patch-version:
|
||||
description: 'Patch number of the incremented version'
|
||||
value: ${{ steps.version-increment.outputs.patch-version }}
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
|
||||
Reference in New Issue
Block a user