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 b0ecb6f commit 3bbc0caCopy full SHA for 3bbc0ca
.github/workflows/python-publish.yml
@@ -31,10 +31,17 @@ jobs:
31
python -m pip install --upgrade pip
32
pip install build
33
pip install toml
34
- - name: Build package
+ - name: Update version number
35
run: |
36
- python increment_version.py
37
- python -m build
+ # Note: the following account information will not work on GHES
+ git config user.name "github-actions[bot]"
38
+ git config user.email ""
39
+ python increment_version.py
40
+ git add .
41
+ git commit -m "generated"
42
+ git push
43
+ - name: Build package
44
+ run: python -m build
45
- name: Publish package
46
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
47
with:
0 commit comments