From 5903de2aadf6357f6c06543f6aac7da214c5b36d Mon Sep 17 00:00:00 2001 From: Conrad Date: Fri, 25 Oct 2024 14:19:11 +0200 Subject: [PATCH] fix: fixed semantic versioning format selector --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a14aeac..b3d4efa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,9 +68,9 @@ jobs: id: set_version run: | if [[ "${{ github.head_ref }}" == "master" ]]; then - echo "::set-output name=version_format::${major}.${minor}.${patch}" + echo "V_FORMAT='${major}.${minor}.${patch}'" >> $GITHUB_OUTPUT elif [[ "${{ github.head_ref }}" == "dev" ]]; then - echo "::set-output name=version_format::${major}.${minor}.${patch}-rc${increment}" + echo "V_FORMAT='${major}.${minor}.${patch}-rc${increment}'" >> $GITHUB_OUTPUT fi - name: Git Version @@ -81,7 +81,7 @@ jobs: major_pattern: "breaking:" minor_pattern: "feat:" enable_prerelease_mode: false - version_format: ${{ steps.set_version.outputs.version_format }} + version_format: ${{ steps.set_version.outputs.V_FORMAT }} - name: Create & Push Tag if: github.head_ref == 'master' || github.head_ref == 'dev'