diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 37f5e48..539b3f1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,8 +17,7 @@ jobs: python-version: '3.10' - name: Setup and build run: | - python -m - pip install build wheel + python -m pip install build wheel version=$(echo $GITHUB_REF | cut -d / -f 3) sed -i "s/__version__ = .*/__version__ = \"$version\"/g" mmuxer/__init__.py python -m build --sdist --wheel