Skip to content

Commit c673f8d

Browse files
authored
Update publish.yml
1 parent b7b3985 commit c673f8d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,17 @@ jobs:
3434
poetry version $VERSION
3535
poetry lock
3636
37-
- name: Create and Checkout a New Branch
37+
- name: Checkout main branch
3838
run: |
39-
git checkout -b version-bump-${GITHUB_SHA}
39+
git checkout main
4040
4141
- name: Commit version bump to repository
4242
run: |
4343
git config user.name "GitHub Actions"
4444
git config user.email "[email protected]"
4545
git add pyproject.toml poetry.lock
4646
git commit -m "Bump version to $VERSION"
47-
git push origin version-bump-${GITHUB_SHA}
47+
git push origin main
4848
4949
- name: Build the package and publish to PyPI
5050
env:

0 commit comments

Comments
 (0)