mirror of
https://github.com/reecetech/version-increment.git
synced 2025-12-21 22:45:43 +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
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Get next version
|
- name: Get next version
|
||||||
uses: reecetech/version-increment@2022.2.2
|
uses: reecetech/version-increment@2022.2.3
|
||||||
id: version
|
id: version
|
||||||
with:
|
with:
|
||||||
scheme: semver
|
scheme: semver
|
||||||
|
|||||||
@@ -25,13 +25,13 @@ outputs:
|
|||||||
value: ${{ steps.version-lookup.outputs.current-version }}
|
value: ${{ steps.version-lookup.outputs.current-version }}
|
||||||
current-v-version:
|
current-v-version:
|
||||||
description: 'Current normal version detected, prefixed with a `v` charatcter'
|
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:
|
version:
|
||||||
description: 'Incremented version calculated'
|
description: 'Incremented version calculated'
|
||||||
value: ${{ steps.version-increment.outputs.version }}
|
value: ${{ steps.version-increment.outputs.version }}
|
||||||
v-version:
|
v-version:
|
||||||
description: 'Incremented version calculated, prefixed with a `v` charatcter'
|
description: 'Incremented version calculated, prefixed with a `v` charatcter'
|
||||||
value: v${{ steps.version-increment.outputs.version }}
|
value: ${{ steps.version-increment.outputs.v-version }}
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
|
|||||||
Reference in New Issue
Block a user