I've found semantic-release and it looks very useful. But I'm wondering how to customize it to fit our workflow:
- no dev branch, just a master and feature/fix/chore branches.
- latest release (github with relevant git tag) correspond to version pushed to production.
- Draft release correspond to version pushed to staging.
This is a private industry project, so we cannot go completely lean and must respect internal design guidelines including batching PRs on staging before releasing on production.
I can add a dev branch, and push staging from dev, then production from master after merging dev to master. But I'd like my github draft release to be updated as soon as a pull request is merged back into dev (draft release that would become the latest release once dev is merged into master).
Is that somehow possible ? I recently installed the semantic pull request github app, and started using conventional commit conventions, but I'm unclear about how to use release-notes-generator on its own, or whether it handles the github draft release mode.