Update python-publish.yml

This commit is contained in:
Andros Fenollosa 2022-11-09 13:53:58 +01:00 committed by GitHub
parent 9abb5d0849
commit 68e043a309
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python3 -m pip install --upgrade pip python3 -m pip install --upgrade pip
pip3 install setuptools twine pip3 install wheel twine
- name: Add version - name: Add version
run: sed -i 's/VERSION/${{github.ref_name}}/g' setup.py run: sed -i 's/VERSION/${{github.ref_name}}/g' setup.py
- name: Build package - name: Build package