Skip to content

Commit

Permalink
Merge 29b6585 into 34204b1
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Dec 2, 2020
2 parents 34204b1 + 29b6585 commit 33f6e54
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- name: Install PyBuild
run: |
python -m pip install build
python -m pip install build setuptools-scm
- name: Build wheel and sdist
run: |
Expand All @@ -44,6 +44,12 @@ jobs:
run: |
ls
ls dist
if [ -f dist/zarr-0.0.0.tar.gz ]; then
echo "WRONG VERSION NUMBER"
exit 1
else
echo "All seem good"
fi
upload_pypi:
needs: [build_artifacts]
Expand Down
3 changes: 3 additions & 0 deletions zarr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@
TempStore, ZipStore)
from zarr.sync import ProcessSynchronizer, ThreadSynchronizer
from zarr.version import version as __version__

# in case setuptools scm screw up and find version to be 0.0.0
assert not __version__.startswith("0.0.0")

0 comments on commit 33f6e54

Please sign in to comment.