Fix workflow

This commit is contained in:
Xoconoch
2025-08-17 17:50:37 -06:00
parent 59f689f6db
commit dc9470c973

View File

@@ -25,6 +25,13 @@ jobs:
python -m pip install --upgrade pip
pip install build twine
- name: Update version in setup.cfg from tag
run: |
VERSION="${GITHUB_REF_NAME#v}"
sed -i -E "s/^version = .*/version = ${VERSION}/" setup.cfg
echo "Updated setup.cfg version to ${VERSION}"
grep -n '^version = ' setup.cfg
- name: Build package
run: python -m build