From 9001859b0b54cb3fc450fecdc0d0c1df4cba887e Mon Sep 17 00:00:00 2001 From: Wing Lian Date: Mon, 9 Dec 2024 14:12:45 -0500 Subject: [PATCH] fix release command (#2163) [skip ci] --- .github/workflows/pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 752ffefdfe..f6b897f76f 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -16,7 +16,7 @@ jobs: - name: Create release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: gh release create "$GITHUB_REF_NAME" # GITHUB_REF_NAME is the tag name in `on.push.tags` workflows + run: gh release create ${GITHUB_REF#refs/tags/} pypi-publish: name: Upload release to PyPI runs-on: ubuntu-latest