Merge pull request #11 from reecetech/fixing-outputs

Fixing the outputs to match README
This commit is contained in:
Philip Jay
2022-02-08 14:55:07 +11:00
committed by GitHub
2 changed files with 8 additions and 2 deletions

View File

@@ -9,7 +9,7 @@
uses: actions/checkout@v2
- name: Get next version
uses: reecetech/version-increment@2021.11.2
uses: reecetech/version-increment@2022.2.2
id: version
with:
scheme: semver

View File

@@ -20,12 +20,18 @@ inputs:
default: 'patch'
outputs:
current_version:
current-version:
description: 'Current normal version detected'
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 }}
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 }}
runs:
using: "composite"