Skip to content

Commit

Permalink
ci: 🎡 use git switch in release PR
Browse files Browse the repository at this point in the history
  • Loading branch information
darvid committed Feb 14, 2025
1 parent 1a8029b commit ae42c00
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,7 @@ jobs:
if: steps.release.outputs.released == 'true'
run: |
# use the same default branch name that create-pull-request uses
git checkout -b ${RELEASE_PR_BRANCH}
git branch --set-upstream-to=${RELEASE_PR_BRANCH}
- name: Pull and fast forward
if: steps.release.outputs.released == 'true'
run: |
git pull --ff origin ${RELEASE_PR_BRANCH}
git switch -c ${RELEASE_PR_BRANCH}
- name: Semantic release
uses: python-semantic-release/[email protected]
Expand Down

0 comments on commit ae42c00

Please sign in to comment.