Skip to content

Commit

Permalink
Update PyNUTClient.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Klimov <[email protected]>
  • Loading branch information
jimklimov authored Nov 18, 2023
1 parent 3dd41b1 commit 1fa6782
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/PyNUTClient.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1fa6782

Please sign in to comment.