Skip to content

Commit 2497fda

Browse files
Update publish.yml
1 parent 3414764 commit 2497fda

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/publish.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@ jobs:
2323
python -m pip install --upgrade pip
2424
pip install bump2version==1.0.1 build twine
2525
- name: Bump patch version, commit, and tag
26-
run: |
27-
git config user.name "github-actions"
28-
git config user.email "github-actions@github.com"
29-
bump2version patch --allow-dirty --commit --tag
30-
git push origin HEAD:master
31-
git push --tags
26+
token:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
run: |
29+
git config user.name "github-actions"
30+
git config user.email "github-actions@github.com"
31+
bump2version patch --allow-dirty --commit --tag
32+
git push origin HEAD:master
33+
git push --tags
3234

3335
- name: Build package
3436
run: python -m build

0 commit comments

Comments
 (0)