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
Possible pieces of the puzzle:
pyproject.tomlconforms to tag that was pushed, or else ABORTpyproject.tomlhas changedCHANGELOG.md-> look at Unreleased section and make new section for new version based on that