Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,19 @@ jobs:

- name: Install PyBuild
run: |
python -m pip install build
python -m pip install 'build!=0.1' setuptools-scm

- name: Build wheel and sdist
run: |
python -m build
git describe
pwd
if [ -f dist/zarr-0.0.0.tar.gz ]; then
echo "WRONG VERSION NUMBER"
exit 1
else
echo "All seem good"
fi
- uses: actions/upload-artifact@v1
with:
name: releases
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")