Skip to content

Commit

Permalink
Commit version as well
Browse files Browse the repository at this point in the history
  • Loading branch information
adriaandotcom authored Oct 25, 2024
1 parent aa534f0 commit ac7480f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
types: [published]

permissions:
contents: read
contents: write # Needed to push changes back to the repository

jobs:
deploy:
Expand All @@ -34,6 +34,12 @@ jobs:
regex: true
include: 'setup.py'

- name: Commit version bump
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'Version bump in setup.py to ${{ env.VERSION }} [skip ci]'
file_pattern: setup.py

- name: Set up Python
uses: actions/setup-python@v3
with:
Expand All @@ -52,3 +58,4 @@ jobs:
with:
user: simpleanalytics
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit ac7480f

Please sign in to comment.