Skip to content

Commit

Permalink
fix(actions): Remove 'v' from tag when setting the release version fo…
Browse files Browse the repository at this point in the history
…r pypi.
  • Loading branch information
Nico-AP committed Dec 2, 2024
1 parent 55a1d0c commit 44c4db7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-prerelease-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:

- name: Update package version in files
run: |
sed -i "s/__version__/$PKG_VERSION/g" setup.cfg
sed -i "s/__version__/$PKG_VERSION/g" ddm/__init__.py
sed -i "s/__version__/${PKG_VERSION#v}/g" setup.cfg
sed -i "s/__version__/${PKG_VERSION#v}/g" ddm/__init__.py
- name: Build package
run: python -m build
Expand Down

0 comments on commit 44c4db7

Please sign in to comment.