Skip to content

Commit

Permalink
updated pypi upload #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick committed Sep 10, 2024
1 parent 32dc357 commit 8adad94
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[bumpversion]
current_version = 0.1.0
commit = True
tag = True

[bumpversion:part:release]
first_value = 0
5 changes: 5 additions & 0 deletions .github/workflows/pypi_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ jobs:
tag=$(echo ${GITHUB_REF} | sed 's/refs\/tags\///')
echo "VERSION=$tag" >> $GITHUB_ENV
- name: Configure Git
run: |
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
- name: Update version in pyproject.toml
run: |
# Use bump2version to update version in pyproject.toml
Expand Down

0 comments on commit 8adad94

Please sign in to comment.