Skip to content

Commit

Permalink
ci: enable auto versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Amazia Gur authored and Amazia Gur committed Nov 13, 2024
1 parent 6fc2309 commit d3e5ae0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,14 @@ jobs:
python -m pip install --upgrade pip
pip install poetry
- name: Configure Git user
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
- name: Update version for PyPI release
run: |
poetry version patch
poetry version patch # Increment patch version (e.g., 0.1.0 -> 0.1.1)
git commit -am "Bump version to $(poetry version -s)"
git tag "v$(poetry version -s)"
git push origin --tags
Expand Down

0 comments on commit d3e5ae0

Please sign in to comment.