slack-machine
slack-machine copied to clipboard
Automatic releases
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
- Check if version in
- 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
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.
https://github.com/marketplace/actions/python-project-version-check