From 5d7215dd8d9e9b62e8190693bc943910bc26f7a3 Mon Sep 17 00:00:00 2001 From: VincentAuriau Date: Tue, 4 Jun 2024 11:03:47 +0200 Subject: [PATCH] FIX: versioning name --- .github/actions/publish/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/publish/action.yaml b/.github/actions/publish/action.yaml index 71105aaa..ec4a4486 100644 --- a/.github/actions/publish/action.yaml +++ b/.github/actions/publish/action.yaml @@ -84,7 +84,7 @@ runs: - name: Set GitHub Tag as Package Version run: | - vname="${{ github.event.release.tag_name:1 }}" + vname="${{ github.event.release.tag_name }}:1" echo $vname sed -i -r 's/__version__ *= *".*"/__version__ = "$vname"/g' ${{ inputs.PACKAGE_DIRECTORY }}__init__.py sed -i '0,/version =.*/s//version = "'"$vname"'"/' ./pyproject.toml