Skip to content

Commit

Permalink
fix: adding missing condition to delete temp branch step
Browse files Browse the repository at this point in the history
  • Loading branch information
luislard committed Sep 2, 2024
1 parent 767734f commit a204eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ jobs:
git push origin --tags
- name: Delete temporary tag branch
if: ${{ always() && env.TAG_BRANCH_NAME != '' }}
if: ${{ always() && env.TAG_BRANCH_NAME != '' && (env.NO_CHANGES != 'yes' || env.RELEASE_BRANCH_ENABLED == 'yes') }}
run: |
git checkout --detach
git branch -d ${{ env.TAG_BRANCH_NAME }}
Expand Down

0 comments on commit a204eac

Please sign in to comment.