Skip to content

Commit

Permalink
Checkout or create branch
Browse files Browse the repository at this point in the history
  • Loading branch information
SimplyDanny committed Jan 12, 2025
1 parent 14e9a33 commit e9b976e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Create release branch
if: inputs.branch != 'main'
run: git checkout -b ${{ inputs.branch }}
run: git checkout ${{ inputs.branch }} || git checkout -b ${{ inputs.branch }}
- name: Update changelog
run: "sed -i 's/## Main/## ${{ inputs.version }}: ${{ inputs.title }}/g' CHANGELOG.md"
- name: Update built-in versions
Expand Down

0 comments on commit e9b976e

Please sign in to comment.