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:
21
21
22
22
- name : Install PyBuild
23
23
run : |
24
- python -m pip install build
24
+ python -m pip install ' build!=0.1' setuptools-scm
25
25
26
26
- name : Build wheel and sdist
27
27
run : |
28
28
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
29
37
- uses : actions/upload-artifact@v1
30
38
with :
31
39
name : releases
Original file line number Diff line number Diff line change 16
16
TempStore , ZipStore )
17
17
from zarr .sync import ProcessSynchronizer , ThreadSynchronizer
18
18
from 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