Skip to content

Commit

Permalink
use hatch in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jhamman committed Feb 6, 2024
1 parent 8ab4212 commit 1b7a0a9
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,14 @@ jobs:
- uses: actions/[email protected]
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
Expand Down

0 comments on commit 1b7a0a9

Please sign in to comment.