Skip to content

Commit

Permalink
fix: don't create floating branch from dry runs
Browse files Browse the repository at this point in the history
  • Loading branch information
tagoro9 committed Aug 30, 2023
1 parent 9142a63 commit b61e612
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ runs:
dry-run: ${{ inputs.dry-run }}
extra-plugins: ${{ inputs.extra-plugins }}
- name: Fetch tags
if: steps.release.outputs.new-release-published == 'true'
if: steps.release.outputs.new-release-published == 'true' && inputs.dry-run != 'true'
shell: bash
run: |
git fetch --tags
git clean -fd
- name: Major branch
if: steps.release.outputs.new-release-published == 'true'
if: steps.release.outputs.new-release-published == 'true' && inputs.dry-run != 'true'
uses: open-turo/action-major-release@v1
with:
major-version: ${{ steps.release.outputs.new-release-major-version }}

0 comments on commit b61e612

Please sign in to comment.