Skip to content

Commit

Permalink
Fixed setup version
Browse files Browse the repository at this point in the history
  • Loading branch information
sergioteula committed Oct 12, 2022
1 parent 8af6985 commit 5a2f7bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
pip install setuptools wheel twine
- name: Update version number
run: |
sed -i 's/<PACKAGE_VERSION>/${{ github.ref_name }}/' setup.py
sed -i 's/version="5"/version="${{ github.ref_name }}"/' setup.py
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="python-amazon-paapi",
version="<PACKAGE_VERSION>",
version="5",
author="Sergio Abad",
author_email="[email protected]",
description="Amazon Product Advertising API 5.0 wrapper for Python",
Expand Down

0 comments on commit 5a2f7bd

Please sign in to comment.