We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bf3042 commit e93206fCopy full SHA for e93206f
.bumpversion.cfg
@@ -0,0 +1,6 @@
1
+[bumpversion]
2
+current_version = 0.4.0
3
+commit = True
4
+tag = True
5
+
6
+[bumpversion:file:pyproject.toml]
.github/workflows/python-publish.yml
@@ -8,6 +8,28 @@ on:
8
branches: [master]
9
10
jobs:
11
+ bump_version:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v4
16
17
+ - name: Set up Python
18
+ uses: actions/setup-python@v5
19
+ with:
20
+ python-version: "3.10"
21
22
+ - name: Install bump2version
23
+ run: pip install bump2version
24
25
+ - name: Bump version and commit changes
26
+ run: |
27
+ bump2version patch
28
+ git push
29
+ git push --tags
30
+ env:
31
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32
33
build:
34
name: Build distribution 📦
35
runs-on: ubuntu-latest
0 commit comments