diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 860a6c81c..af2ad73a4 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -50,7 +50,7 @@ jobs: - name: Update version in VERSION file run: | - echo "${{ steps.tag.outputs.TAG_NAME }}" | sed -e's/v//g' > VERSION + echo "${{ steps.tag.outputs.TAG_NAME }}" | sed 's/^v//' > VERSION - name: Build a source dist run: |