expublish
expublish copied to clipboard
Full release process support
In addition to #31 I'd like to have a tool for Cutting a Release in the sense of:
- processing commits since last git (annotated?) tag pointing to a release, so we can determine if such a subset of commits imply a patch, minor or major release number and calculate it (based on commitizen as pointed out in #31)
- based on the same subset of commits, use their information to build a list of
CHANGELOG
entries to be inserted into the existing (or newly created if missing)CHANGELOG.md
file - update
mix.exs
(and optionally an adjacentVERSION
file) accordingly to the new computed version number - commit these changes with a meaningful git commit message
- tag that commit with the computed version number
- push the commit and tag to the remote origin
I'm aware this is such a broadening of the scope of the project in its actual form, so feel free to discard or amend at will :smile: