From 6a6f2acec71bec4de822e0ffb12451e539f449e8 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Fri, 16 Feb 2024 02:37:31 +0300 Subject: [PATCH] Update update-major-version.yml --- .github/workflows/update-major-version.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-major-version.yml b/.github/workflows/update-major-version.yml index 0b26337..987e3e7 100644 --- a/.github/workflows/update-major-version.yml +++ b/.github/workflows/update-major-version.yml @@ -44,7 +44,7 @@ jobs: run: | TAG=${{ github.event.release.tag_name }} - echo "full_version=v${TAG}" >> $GITHUB_OUTPUT + echo "full_version=${TAG}" >> $GITHUB_OUTPUT echo "major_version=v${TAG:0:1}" >> $GITHUB_OUTPUT - name: Show versions @@ -53,7 +53,7 @@ jobs: echo "Full is ${{ steps.version.outputs.full_version }}" - name: Tag new target - run: git tag -f ${{ steps.version.outputs.major_version }} ${{ steps.version.outputs.full_version }} + run: git tag -f "${{ steps.version.outputs.major_version }}" "${{ steps.version.outputs.full_version }}" - name: Push new tag - run: git push origin ${{ steps.version.outputs.major_version }} --force + run: git push origin "${{ steps.version.outputs.major_version }}" --force