Update python-publish.yml

This commit is contained in:
Andros Fenollosa 2022-11-09 13:52:10 +01:00 committed by GitHub
parent 66c76ce56a
commit 9abb5d0849
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 twine pip3 install setuptools 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