From 44ba616da2e5007837361bd727d6ea1fe07b3a0e Mon Sep 17 00:00:00 2001 From: Mark Saroufim Date: Thu, 11 Jan 2024 12:35:31 -0500 Subject: [PATCH] Fix broken pypi.yml (#1099) [skip ci] --- .github/workflows/pypi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 27b1cb8d69..dbd225f6f0 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -34,11 +34,11 @@ jobs: run: echo ::set-output name=TAG_NAME::$(echo $GITHUB_REF | cut -d / -f 3) - name: Update version in setup.py - run: >- + run: | sed -i -E 's/version="([0-9.]+)",/version="${{ steps.tag.outputs.TAG_NAME }}",/g' setup.py - name: Build a binary wheel - run: >- + run: | python setup.py sdist bdist_wheel - name: Publish package distributions to PyPI