Merge pull request #12 from reecetech/using-v-outputs

Using v-* outputs in favor of string manipulation
This commit is contained in:
Asanga
2022-02-08 15:14:10 +11:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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"