Skip to content

Commit 5a2f7bd

Browse files
committed
Fixed setup version
1 parent 8af6985 commit 5a2f7bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/python-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
pip install setuptools wheel twine
2222
- name: Update version number
2323
run: |
24-
sed -i 's/<PACKAGE_VERSION>/${{ github.ref_name }}/' setup.py
24+
sed -i 's/version="5"/version="${{ github.ref_name }}"/' setup.py
2525
- name: Build and publish
2626
env:
2727
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="python-amazon-paapi",
8-
version="<PACKAGE_VERSION>",
8+
version="5",
99
author="Sergio Abad",
1010
author_email="sergio.abad@bytelix.com",
1111
description="Amazon Product Advertising API 5.0 wrapper for Python",

0 commit comments

Comments
 (0)