Skip to content

Commit

Permalink
commit version back to repo
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-at-rewst committed Jan 19, 2024
1 parent 8f4e62c commit 736c141
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ jobs:
- name: Bump version in File
if:
run: echo "__version__ = '${{ needs.bump_version.outputs.new_version }}'" > __version__.py

- name: Commit updated version file
run: |
git config --local user.email "[email protected]"
git config --local user.name "Rewst GitHub Actions"
git add path/to/your_package/version.py
git commit -m "Update version to ${{ needs.bump_version.outputs.new_version }}"
git push
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
Expand Down

0 comments on commit 736c141

Please sign in to comment.