leo-cli icon indicating copy to clipboard operation
leo-cli copied to clipboard

Release build using GitHub Actions

Open neingeist opened this issue 1 year ago • 1 comments

Hey,

I happen to have built a GitHub Actions workflow for another project (in another account I use for my professional stuff) that,

when triggered by a git tag v1.2.3:

  1. runs tests (not sure here are any)
  2. checks the Python package version against the git tag (to avoid a common mistake)
  3. builds a wheel
  4. creates a GitHub release (and adds the wheel + source)
  5. uploads to PyPI

If you have interest in this I can submit it as a PR. You may need to assist a little for the PyPI upload but otherwise this "just works" and can automate the boring stuff.

neingeist avatar Oct 30 '23 20:10 neingeist

Sounds great! I don't make many releases but would gladly accept a PR that automates that part.

Thanks!

joidegn avatar Oct 31 '23 04:10 joidegn