File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,19 @@ jobs:
2121
2222 - name : Install PyBuild
2323 run : |
24- python -m pip install build
24+ python -m pip install ' build!=0.1' setuptools-scm
2525
2626 - name : Build wheel and sdist
2727 run : |
2828 python -m build
29+ git describe
30+ pwd
31+ if [ -f dist/zarr-0.0.0.tar.gz ]; then
32+ echo "WRONG VERSION NUMBER"
33+ exit 1
34+ else
35+ echo "All seem good"
36+ fi
2937 - uses : actions/upload-artifact@v1
3038 with :
3139 name : releases
Original file line number Diff line number Diff line change 1616 TempStore , ZipStore )
1717from zarr .sync import ProcessSynchronizer , ThreadSynchronizer
1818from zarr .version import version as __version__
19+
20+ # in case setuptools scm screw up and find version to be 0.0.0
21+ assert not __version__ .startswith ("0.0.0" )
You can’t perform that action at this time.
0 commit comments