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 f757ad5 commit 730e207
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/publish/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 730e207

Please sign in to comment.