Skip to content

Commit

Permalink
Fetch before checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
SimplyDanny committed Jan 16, 2025
1 parent 99c1dbe commit 995f8e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Create release branch
run: git checkout ${{ env.RELEASE_BRANCH }} || git checkout -b ${{ env.RELEASE_BRANCH }}
run: >-
git fetch origin ${{ env.RELEASE_BRANCH }}
&& git checkout ${{ env.RELEASE_BRANCH }}
|| git checkout -b ${{ env.RELEASE_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 995f8e1

Please sign in to comment.