Skip to content

Commit

Permalink
Update update-major-version.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-helldar authored Feb 15, 2024
1 parent 24bec2c commit 6a6f2ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/update-major-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 6a6f2ac

Please sign in to comment.