MHKiT-Software / MHKiT-Python

MHKiT-Python provides the marine renewable energy (MRE) community tools for data processing, visualization, quality control, resource assessment, and device performance.
https://mhkit-software.github.io/MHKiT/
BSD 3-Clause "New" or "Revised" License
47 stars 45 forks source link

Release to pypi github actions workflow #243

Closed maxwelllevin closed 10 months ago

maxwelllevin commented 1 year ago

This PR adds a github actions workflow that releases to test.pypi.org on every commit to master and to pypi.org on every published release. It requires setting two repository secrets:

  1. TEST_PYPI_API_TOKEN
  2. PYPI_API_TOKEN

I also updated the badges in the README to use html img tags instead of markdown so that they will show up correctly on pypi.org. Previously it looked like this:

image