diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index c08bfc667..4d9565a6a 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -19,23 +19,14 @@ jobs: - uses: actions/setup-python@v4.7.1 name: Install Python with: - python-version: '3.8' + python-version: '3.11' - name: Install PyBuild run: | - python -m pip install 'build!=0.1' setuptools-scm - + python -m pip install --upgrade pip + pip install hatch - 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 + run: hatch build - uses: actions/upload-artifact@v3 with: name: releases