Skip to content

Commit

Permalink
ci: Improve version update (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
kesara authored Apr 4, 2024
1 parent e9aad7f commit 4444c94
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,9 @@ jobs:
run: |
echo "Using version $PKG_VERSION_STRICT"
sed -i -r -e "s/^__version__ += '.*'$/__version__ = '$PKG_VERSION_STRICT'/" svgcheck/__init__.py
sed -i -r -e "s/^version += .*$/version = $PKG_VERSION_STRICT/" setup.cfg
source venv/bin/activate
python -m build --config-setting=--build-option="setopt --command=metadata --option=version --set-value=$PKG_VERSION_STRICT"
rm -rf dist
python -m build --sdist
ls dist
- name: Update CHANGELOG
id: changelog
Expand Down

0 comments on commit 4444c94

Please sign in to comment.