From 6f4d5d04d0a672cac71388a916d037038370f60e Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Wed, 9 Nov 2022 13:08:01 +0100 Subject: [PATCH] Update python-publish.yml --- .github/workflows/python-publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index b6068e6..b3b9626 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -30,6 +30,8 @@ jobs: run: | python3 -m pip install --upgrade pip pip3 install twine + - name: Add version + run: sed -i 's/VERSION/${{github.ref_name}}/g' setup.py - name: Build package run: python3 setup.py sdist bdist_wheel - name: Publish package