Skip to content

Commit

Permalink
fix: push and move tag when release branch is not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
luislard committed Aug 30, 2024
1 parent b942593 commit 9e36129
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-push-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -284,11 +284,11 @@ jobs:
run: git push

- name: Git push for tag
if: ${{ github.ref_type == 'tag' && env.RELEASE_BRANCH_ENABLED == 'yes' }}
if: ${{ github.ref_type == 'tag' }}
run: git push

- name: Move tag
if: ${{ github.ref_type == 'tag' && env.RELEASE_BRANCH_ENABLED == 'yes' }}
if: ${{ github.ref_type == 'tag' }}
run: |
git tag -d ${{ env.TAG_NAME }}
git push origin :refs/tags/${{ env.TAG_NAME }}
Expand Down

0 comments on commit 9e36129

Please sign in to comment.