Skip to content

Commit

Permalink
fix: fix major version tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinf authored Feb 18, 2021
1 parent 8cfa9c8 commit ee0e5a9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ jobs:
- name: Move major version tag
if: steps.semantic-release.outputs.new_release_published == 'true'
env:
VERION_TAG: v${{steps.semantic.outputs.new_release_major_version}}
VERION_TAG: v${{steps.semantic-release.outputs.new_release_major_version}}
run: |
git tag -d v${{ env.VERION_TAG }}
git push origin :v${{ env.VERION_TAG }}
git tag v${{ env.VERION_TAG }} ${{ env.GITHUB_SHA }}
git push origin v${{ env.VERION_TAG }}
git tag -d ${{ env.VERION_TAG }}
git push origin :${{ env.VERION_TAG }}
git tag ${{ env.VERION_TAG }} ${{ env.GITHUB_SHA }}
git push origin ${{ env.VERION_TAG }}

0 comments on commit ee0e5a9

Please # to comment.