Using v-* outputs in favor of string manipulation

This commit is contained in:
Asanga
2022-02-08 15:06:28 +11:00
committed by GitHub
parent 827489c005
commit 3d00642def

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"