Skip to content

Commit

Permalink
fix(publish): checkout main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
AmitMY committed Dec 20, 2024
1 parent 113fa75 commit 4c56c30
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pypi-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
- name: Commit updated pyproject.toml
run: |
git fetch origin main
git checkout main
git fetch origin master
git checkout master
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
git add pyproject.toml
git commit -m "Bump version to ${{ env.version }}"
git push origin main
git push origin master
working-directory: src/python

- name: Install dependencies
Expand Down

0 comments on commit 4c56c30

Please sign in to comment.