slack-machine icon indicating copy to clipboard operation
slack-machine copied to clipboard

Automatic releases

Open DonDebonair opened this issue 1 year ago • 2 comments

Possible pieces of the puzzle:

  • Github Action that runs when tags are pushed
    • Check if version in pyproject.toml conforms to tag that was pushed, or else ABORT
  • Github Action that runs when code is merged and checks if the version in pyproject.toml has changed
    • Create git tag for new version
  • Update CHANGELOG.md -> look at Unreleased section and make new section for new version based on that
  • Create Github Release
  • Publish to PyPI
  • https://github.com/thomaseizinger/github-action-gitflow-release-workflow

DonDebonair avatar Oct 17 '22 21:10 DonDebonair

I noticed that you're using conventional commis, so you might be interested in https://python-semantic-release.readthedocs.io/en/latest/ which I'm using on a few projects.

browniebroke avatar Oct 31 '22 22:10 browniebroke

https://github.com/marketplace/actions/python-project-version-check

DonDebonair avatar Sep 03 '23 16:09 DonDebonair