Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.

Commit c33a099

Browse files
Update python-publish.yml
1 parent 7ea1285 commit c33a099

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/python-publish.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Upload Python Package
22

3-
on: [push]
3+
on:
4+
release:
5+
types: [published]
46

57
jobs:
68
deploy:
@@ -14,7 +16,10 @@ jobs:
1416
- name: Install dependencies
1517
run: |
1618
python -m pip install --upgrade pip
17-
pip install setuptools wheel twine
19+
pip install setuptools wheel twine bump2version
20+
- name: Bump Version
21+
run: |
22+
bump2version minor --verbose
1823
- name: Build and publish
1924
env:
2025
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}

0 commit comments

Comments
 (0)