Skip to content

Commit 23c7e8b

Browse files
committed
attempts at fixing publish workflow
1 parent 7e8e52e commit 23c7e8b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434

3535
- name: Build the project
3636
run: |
37+
version=${{ github.ref_name }}
38+
version=${version#v}
39+
export SETUPTOOLS_SCM_PRETEND_VERSION=$version
3740
# from https://github.com/astral-sh/uv/issues/8729#issuecomment-2654619679
3841
uv lock --check
3942
cp pyproject.toml pyproject.toml.bak

0 commit comments

Comments
 (0)