Skip to content

Commit 1fa6782

Browse files
authored
Update PyNUTClient.yml
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
1 parent 3dd41b1 commit 1fa6782

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/PyNUTClient.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,11 @@ jobs:
5151
run: >-
5252
${{ steps.pythoncmd.outputs.PYTHON }} -m
5353
pip install wheel build
54-
- name: Update version in setup.py
55-
run: >-
56-
if [ ! -s scripts/python/module/setup.py ] ; then
57-
sed -e "s/@NUT_SOURCE_GITREV_NUMERIC@/${{ steps.tag.outputs.TAG_NAME }}/g" < scripts/python/module/setup.py.in > scripts/python/module/setup.py ;
58-
fi
5954
- name: Prepare source layout and Build a binary wheel
6055
run: >-
6156
set -e ;
6257
cd scripts/python/module ;
58+
touch Makefile ;
6359
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="." ;
6460
find . -ls
6561
- name: Publish master distribution 📦 to Test PyPI

0 commit comments

Comments
 (0)