unioslo / mreg-cli

Command Line Interface for Mreg
GNU General Public License v3.0
2 stars 7 forks source link

Add publishing workflow and contribution instructions #254

Closed pederhan closed 3 months ago

pederhan commented 3 months ago

Tasks:

Actions workflow:

pederhan commented 3 months ago

I deleted the resulting releases (should have waited until you had a chance to see it), but I can confirm that the workflow automatically creates a new GitHub release with binaries for Windows, MacOS (ARM) and Linux, as well as source and wheel distributions. Publishing to PyPI happens through a Trusted Publisher workflow.

pederhan commented 3 months ago

Leaving the final release up so we can use that as a starting point for further iteration in the future:

https://github.com/unioslo/mreg-cli/releases https://github.com/unioslo/mreg-cli/releases/tag/mreg-cli-v1.0.0a10 https://pypi.org/project/mreg-cli/

I definitely should have published this to Test PyPI instead of the regular one, but that little mistake at least helped us verify that the trusted publishing workflow works for regular PyPI as well.

Here's the package on Test PyPI: https://test.pypi.org/project/mreg-cli/