mirror of
https://github.com/reecetech/version-increment.git
synced 2025-12-21 06:25:44 +00:00
Merge pull request #12 from reecetech/using-v-outputs
Using v-* outputs in favor of string manipulation
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Get next version
|
||||
uses: reecetech/version-increment@2022.2.2
|
||||
uses: reecetech/version-increment@2022.2.3
|
||||
id: version
|
||||
with:
|
||||
scheme: semver
|
||||
|
||||
@@ -25,13 +25,13 @@ outputs:
|
||||
value: ${{ steps.version-lookup.outputs.current-version }}
|
||||
current-v-version:
|
||||
description: 'Current normal version detected, prefixed with a `v` charatcter'
|
||||
value: v${{ steps.version-lookup.outputs.current-version }}
|
||||
value: ${{ steps.version-lookup.outputs.current-v-version }}
|
||||
version:
|
||||
description: 'Incremented version calculated'
|
||||
value: ${{ steps.version-increment.outputs.version }}
|
||||
v-version:
|
||||
description: 'Incremented version calculated, prefixed with a `v` charatcter'
|
||||
value: v${{ steps.version-increment.outputs.version }}
|
||||
value: ${{ steps.version-increment.outputs.v-version }}
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
|
||||
Reference in New Issue
Block a user