uap-python icon indicating copy to clipboard operation
uap-python copied to clipboard

Create github workflow for releases

Open masklinn opened this issue 3 years ago • 1 comments

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

  • PR to bump version
  • merge PR
  • fetch result
  • tag commit commit
  • push tag
  • twine

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 avatar Aug 27 '22 12:08 masklinn

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

masklinn avatar Apr 30 '23 12:04 masklinn