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
- name: Get next version
uses: reecetech/version-increment@2022.2.2
uses: reecetech/version-increment@2022.2.3
id: version
with:
scheme: semver

View File

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