From a85f48d1a3a416839393a4e8fe85ca0180fb7014 Mon Sep 17 00:00:00 2001 From: Owefsad <16431735+exexute@users.noreply.github.com> Date: Fri, 24 Dec 2021 13:08:54 +0800 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a158ecb..6b53df7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,10 +24,10 @@ jobs: pip install setuptools wheel twine - id: release - run: | - TAG_NAME=${{ github.event.release.tag_name }} - ID=`echo ${TAG_NAME##v}` - echo "::set-output name=VERSION::$ID" + run: | + TAG_NAME=${{ github.event.release.tag_name }} + ID=`echo ${TAG_NAME##v}` + echo "::set-output name=VERSION::$ID" - name: Build and publish env: @@ -36,4 +36,4 @@ jobs: run: | sed -i "s/latest/${{ steps.release.outputs.VERSION }}" setup.py python setup.py sdist bdist_wheel - twine upload dist/* \ No newline at end of file + twine upload dist/*