From 730e207bbf597d919d3b1820938a61cf744f346f Mon Sep 17 00:00:00 2001 From: VincentAuriau Date: Tue, 4 Jun 2024 10:48:23 +0200 Subject: [PATCH] FIX: versioning name --- .github/actions/publish/action.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/publish/action.yaml b/.github/actions/publish/action.yaml index 86ce9001..5a2b0e0e 100644 --- a/.github/actions/publish/action.yaml +++ b/.github/actions/publish/action.yaml @@ -85,8 +85,8 @@ runs: - name: Set GitHub Tag as Package Version run: | vname="${github.event.release.tag_name:1}" - sed -i -r 's/__version__ *= *".*"/__version__ = "${{ vname }}"/g' ${{ inputs.PACKAGE_DIRECTORY }}__init__.py - sed -i '0,/version =.*/s//version = "'"${{ vname }}"'"/' ./pyproject.toml + sed -i -r 's/__version__ *= *".*"/__version__ = "${{ $vname }}"/g' ${{ inputs.PACKAGE_DIRECTORY }}__init__.py + sed -i '0,/version =.*/s//version = "'"${{ $vname }}"'"/' ./pyproject.toml shell: bash - name: Add and Commit Version