Skip to content

Commit

Permalink
Workaround for now missing setuptools which are used in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yarikoptic committed Jan 16, 2024
1 parent b00a790 commit 67fa558
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
pypi-token: ${{ secrets.PYPI_TOKEN }}
pre-tag: |
pip install setuptools # needed for setup.py --version
pkg="$(python setup.py --name)"
printf '__version__ = "%s"\n' "$new_version" > "$pkg"/version.py
git commit -m "Update __version__ to $new_version" "$pkg"/version.py
Expand Down

0 comments on commit 67fa558

Please sign in to comment.