gocuke
gocuke copied to clipboard
[ci] auto-create tag + release on merge to main branch
Make use of:
- bump version number using: https://github.com/marketplace/actions/semver-conventional-commits
- comment/post changelog https://github.com/marketplace/actions/changelog-from-conventional-commits
- tag + release on merge to main
Sounds reasonable, but how would this work with major version releases given that the import path needs to change?
Major versions we’d probably still bump manually if we wanted to include a /v2 suffix on import, but would be an exceptional scenario for the most part
Wanted to remove some of the labour from the tagging/release process for bumps and patches as the primary use case
Likely could/should be coupled with more test coverage to ensure comparability going forward
Yeah for minor and patch versions automation would be nice. Ideally this stays on a stable v1 for a while
I would note that the generate release notes feature in Github releases is pretty decent if we do need to do this manually.