From 2f85ffd97abf7c23f9fed056d5942347eb8b4937 Mon Sep 17 00:00:00 2001 From: Wh1isper <9573586@qq.com> Date: Thu, 21 Dec 2023 13:31:45 +0800 Subject: [PATCH] Fix self release --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index eef187ad..caf3cdc4 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -22,7 +22,7 @@ jobs: python -m pip install --upgrade pip pip install build twine hatch - name: Versioning package - run: hatch version ${{ github.ref }} + run: hatch version ${{ github.ref_name }} - name: Build package run: python -m build - name: Publish package