Skip to content

Commit f5b5d4a

Browse files
committed
Fix scm version
1 parent c026625 commit f5b5d4a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/wheels.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ jobs:
9696
shell: powershell
9797
- name: Build Wheel
9898
run: |
99+
# The symlink fix above confuses setuptools_scm
100+
$tag = git describe --tags --exact-match HEAD 2>$null
101+
if ($tag) {
102+
$env:SETUPTOOLS_SCM_PRETEND_VERSION_FOR_MSPRIME = $tag
103+
}
99104
python -m build --wheel
100105
- name: Bundle dynamic libs
101106
run: |

0 commit comments

Comments
 (0)