mintel / build-harness

🤖Collection of Makefiles to facilitate building Python/Golang projects, Dockerfiles, and more
Apache License 2.0
2 stars 6 forks source link

Add target to promote unreleased changelog section to new version #47

Closed charlieparkes closed 4 years ago

charlieparkes commented 4 years ago

Adds changelog/release/% target which

  1. Checks that an Unreleased section exists and contains notes
  2. Promotes the Unreleased section to the new version (per bumpversion dry run)
  3. Commits the Unreleased section to git

Example

release_patch: changelog/release/patch bumpversion/patch