Skip to content

Commit

Permalink
FIX: versioning name
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentAuriau committed Jun 4, 2024
1 parent a381b2f commit 5d7215d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/publish/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d7215d

Please sign in to comment.