planetarypy / pvl

Python implementation of PVL (Parameter Value Language)
BSD 3-Clause "New" or "Revised" License
19 stars 19 forks source link

Workflows: publish to PyPI #86

Closed rbeyer closed 3 years ago

rbeyer commented 3 years ago

Description

Some minor changes so that the publish to PyPI only happens "on release." In order to test, "regular" PyPI upload is commented out, and publish to "test PyPI" is active. Will change after next release.

Related Issue

Would close #77 and #78

How Has This Been Tested?

It has not. The plan is to put this in place. When we are ready to cut the next release, we use the GitHub Release mechanism to do so, which should trigger this workflow. This workflow will only publish to Test PyPI, but that will be the test. Since the workflow in "test mode" doesn't publish, that release will need to be manually twine-ed up to PyPI (but should be the last time). If the test works, then we can comment out the Test-PyPI and have "regular" PyPI publish enabled for the release after that.

Types of changes

Checklist:

Licensing:

This project is released under the LICENSE.