Skip to content

Commit 344a5a8

Browse files
Updates publish workflow to correctly release on tag
2 parents 22f75e7 + 5ceb873 commit 344a5a8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ jobs:
3232
uv.lock
3333
3434
- name: Build package
35-
run: uv build
35+
run: |
36+
VERSION="${{ github.event.release.tag_name }}"
37+
SETUPTOOLS_SCM_PRETEND_VERSION="${VERSION#v}" uv build
3638
3739
- name: Upload distributions
3840
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)