From 1fa67825173a63e19b69566ed989844720b9ecb5 Mon Sep 17 00:00:00 2001 From: Jim Klimov Date: Sun, 19 Nov 2023 00:05:31 +0100 Subject: [PATCH] Update PyNUTClient.yml Signed-off-by: Jim Klimov --- .github/workflows/PyNUTClient.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/PyNUTClient.yml b/.github/workflows/PyNUTClient.yml index 499ff04ae0..bcf501a24e 100644 --- a/.github/workflows/PyNUTClient.yml +++ b/.github/workflows/PyNUTClient.yml @@ -51,15 +51,11 @@ jobs: run: >- ${{ steps.pythoncmd.outputs.PYTHON }} -m pip install wheel build - - name: Update version in setup.py - run: >- - if [ ! -s scripts/python/module/setup.py ] ; then - sed -e "s/@NUT_SOURCE_GITREV_NUMERIC@/${{ steps.tag.outputs.TAG_NAME }}/g" < scripts/python/module/setup.py.in > scripts/python/module/setup.py ; - fi - name: Prepare source layout and Build a binary wheel run: >- set -e ; cd scripts/python/module ; + touch Makefile ; make -f Makefile.am clean-local dist NUT_SOURCE_GITREV_NUMERIC="${{ steps.tag.outputs.TAG_NAME }}" PYTHON="${{ steps.pythoncmd.outputs.PYTHON }}" top_srcdir="../../.." srcdir="." builddir="." ; find . -ls - name: Publish master distribution 📦 to Test PyPI