From 5a2f7bdee5d702efbee062a5947017ceff2e4e12 Mon Sep 17 00:00:00 2001 From: Sergio Abad Date: Wed, 12 Oct 2022 21:31:55 +0200 Subject: [PATCH] Fixed setup version --- .github/workflows/python-publish.yml | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index c9a6879..1a1ec16 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -21,7 +21,7 @@ jobs: pip install setuptools wheel twine - name: Update version number run: | - sed -i 's//${{ 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 }} diff --git a/setup.py b/setup.py index b7d39a7..f570722 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="python-amazon-paapi", - version="", + version="5", author="Sergio Abad", author_email="sergio.abad@bytelix.com", description="Amazon Product Advertising API 5.0 wrapper for Python",