mirror of
https://lavaforge.org/spotizerr/spotizerr-auth.git
synced 2025-12-23 18:29:16 -05:00
Fix workflow
This commit is contained in:
7
.github/workflows/publish.yml
vendored
7
.github/workflows/publish.yml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user