Skip to content

Commit de7c9e4

Browse files
authored
Merge pull request #638 from benjeffery/fix_wheels
Fix version number in windows wheel
2 parents d67a980 + bac0684 commit de7c9e4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/wheels.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ jobs:
9191
cp -r --dereference subprojects/git-submodules/tskit/python/lwt_interface/* subprojects/tskit/.
9292
cp -r --dereference subprojects/git-submodules/tskit/python/lwt_interface ../lwt_interface
9393
cd ..
94+
#Do a little dance to restore the version to a clean tag for setuptools_scm
95+
git tag -d ${{ github.event.ref }}
96+
git add -u
97+
git commit -m "tag dance"
98+
git tag ${{ github.event.ref }}
9499
${PYTHON} setup.py build_ext --inplace
95100
- name: Build Wheel
96101
env:

0 commit comments

Comments
 (0)