csdms / bmi-wavewatch3

Fetch WaveWatch3 data
MIT License
6 stars 0 forks source link

Add a workflow of deploying a pre-release #10

Closed mcflugen closed 2 years ago

mcflugen commented 2 years ago

This pull request adds a new workflow that creates a source distribution and pushes it to TestPyPI. This action is only run if the version tag is a prerelease version (i.e. the version string ends with [ab][0-9]+),

mcflugen commented 2 years ago

Finally. It turns out the issue I was having (i.e. python setup.py wasn't picking up the metadata in pyproject.toml and instead building an sdist for UNKNOWN-0.0.0) was solved by updating pip, wheel, and setuptools. I thought they were up-to-date but pip install --upgrade pip wheel setuptools seems to fix the problem.