diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index dcd8b37..04e2595 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -51,7 +51,7 @@ jobs: id: version-increment run: ./version-increment.sh env: - current_version: ${{ steps.version-lookup.outputs.current-version }} + current_version: ${{ steps.version-lookup.outputs.CURRENT_VERSION }} scheme: calver - name: Release version @@ -61,4 +61,4 @@ jobs: repo_token: "${{ secrets.GITHUB_TOKEN }}" draft: false prerelease: false - automatic_release_tag: "${{ steps.version-increment.outputs.version }}" + automatic_release_tag: "${{ steps.version-increment.outputs.VERSION }}" diff --git a/action.yml b/action.yml index 57a5616..65bd0b4 100644 --- a/action.yml +++ b/action.yml @@ -22,37 +22,37 @@ inputs: outputs: current-version: description: 'Current normal version detected' - value: ${{ steps.version-lookup.outputs.current-version }} + value: ${{ steps.version-lookup.outputs.CURRENT_VERSION }} current-v-version: description: 'Current normal version detected, prefixed with a `v` charatcter' - value: ${{ steps.version-lookup.outputs.current-v-version }} + value: ${{ steps.version-lookup.outputs.CURRENT_V_VERSION }} version: description: 'Incremented version calculated' - value: ${{ steps.version-increment.outputs.version }} + value: ${{ steps.version-increment.outputs.VERSION }} v-version: description: 'Incremented version calculated, prefixed with a `v` charatcter' - value: ${{ steps.version-increment.outputs.v-version }} + value: ${{ steps.version-increment.outputs.V_VERSION }} major-version: description: 'Major number of the incremented version' - value: ${{ steps.version-increment.outputs.major-version }} + value: ${{ steps.version-increment.outputs.MAJOR_VERSION }} minor-version: description: 'Minor number of the incremented version' - value: ${{ steps.version-increment.outputs.minor-version }} + value: ${{ steps.version-increment.outputs.MINOR_VERSION }} patch-version: description: 'Patch number of the incremented version' - value: ${{ steps.version-increment.outputs.patch-version }} + value: ${{ steps.version-increment.outputs.PATCH_VERSION }} pre-release-version: description: 'Pre-release label of the incremented version' - value: ${{ steps.version-increment.outputs.pre-release-label }} + value: ${{ steps.version-increment.outputs.PRE_RELEASE_LABEL }} major-v-version: description: 'Major number of the incremented version, prefixed with a `v` charatcter' - value: ${{ steps.version-increment.outputs.major-v-version }} + value: ${{ steps.version-increment.outputs.MAJOR_V_VERSION }} minor-v-version: description: 'Minor number of the incremented version, prefixed with a `v` charatcter' - value: ${{ steps.version-increment.outputs.minor-v-version }} + value: ${{ steps.version-increment.outputs.MINOR_V_VERSION }} patch-v-version: description: 'Patch number of the incremented version, prefixed with a `v` charatcter' - value: ${{ steps.version-increment.outputs.patch-v-version }} + value: ${{ steps.version-increment.outputs.PATCH_V_VERSION }} runs: using: "composite" @@ -67,6 +67,6 @@ runs: run: ${{ github.action_path }}/version-increment.sh shell: bash env: - current_version: ${{ steps.version-lookup.outputs.current-version }} + current_version: ${{ steps.version-lookup.outputs.CURRENT_VERSION }} increment: ${{ inputs.increment }} scheme: ${{ inputs.scheme }}