jrl-umi3218 / jrl-cmakemodules

CMake utility toolbox
https://jrl-cmakemodules.readthedocs.io/en/master/
Other
56 stars 46 forks source link

release: update CHANGELOG.md #633

Closed nim65s closed 8 months ago

nim65s commented 8 months ago

Hi,

Eigenpy recently adopted a changelog style based on https://keepachangelog.com/.

Therefore, on each release, a few lines should be added / updated in this file, so I guess the right place to do so is in the release target, along with other similar file updates, like package.xml & pyproject.toml.

Here is a simple implementation in sed.

It would be problematic in projects:

  1. using the jrl-cmakemodule
  2. having a CHANGELOG.md
  3. not following keepachangelog.com
  4. with lines matching the regex \#\# \\[Unreleased\\] and/or ^\\[Unreleased]: \\(https://.*compare/\\)\\(v.*\\)...HEAD

But I guess there those conditions are never met.

@jorisv : maybe you would like to test this on your side ?