Skip to content

Commit

Permalink
Tried auto version increment
Browse files Browse the repository at this point in the history
  • Loading branch information
notactuallyfinn authored Jul 19, 2024
1 parent b0ecb6f commit 3bbc0ca
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,17 @@ jobs:
python -m pip install --upgrade pip
pip install build
pip install toml
- name: Build package
- name: Update version number
run: |
python increment_version.py
python -m build
# Note: the following account information will not work on GHES
git config user.name "github-actions[bot]"
git config user.email ""
python increment_version.py
git add .
git commit -m "generated"
git push
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
Expand Down

0 comments on commit 3bbc0ca

Please sign in to comment.