ua-parser / uap-python

Python implementation of ua-parser
Apache License 2.0
562 stars 152 forks source link

Create github workflow for releases #137

Open masklinn opened 2 years ago

masklinn commented 2 years ago

The release workflow is not super impossible but it's a bit annoying:

Doing that via a workflow could be easier, and less reliant on just remembering stuff (and thus forgetting it). It would also make the addition of more release tasks (e.g. github releases?) simpler.

It looks like GHA supports some number of inputs, which would be useful for e.g. the release manager's token, key (for twine's signing of the package), the release name, ...

Note: twine creates signature files so these could probably be used to create the release? And maybe sign the tag as well?

masklinn commented 1 year ago

Example from simonw's demo project: https://github.com/simonw/pids/blob/main/.github/workflows/publish.yml