From 1b7a0a90d3d581cd82865b6921b1faf1774cee1c Mon Sep 17 00:00:00 2001 From: Joseph Hamman Date: Tue, 6 Feb 2024 08:53:04 -0800 Subject: [PATCH] use hatch in release workflow --- .github/workflows/releases.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index c08bfc6677..4d9565a6ab 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