From 37c24d5c0cdbd1e9f6bf613906f65bf15aa7a338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Thu, 3 Oct 2024 14:33:20 +0200 Subject: [PATCH] chore: add hook for automatic changelog generation --- .cliffignore | 92 +++++++++++++++++++++++++++++++++++++++++++ .githooks/post-commit | 5 +++ CHANGELOG.md | 6 +++ cliff.toml | 3 ++ 4 files changed, 106 insertions(+) create mode 100644 .cliffignore create mode 100755 .githooks/post-commit diff --git a/.cliffignore b/.cliffignore new file mode 100644 index 0000000..a9f51c2 --- /dev/null +++ b/.cliffignore @@ -0,0 +1,92 @@ +7cf8502fb9d0c04bab48a2d7d7e819c98f9aed6e +d88bb93cfeb0b2b267736ae21bcff684bebd827c +33565185daa5acabd632ddeff5e03049e5a120ba +eaee82bf5ecc24cb16c0d99d5ea60389f9e8b231 +4cf30631b61ec87f9c2b2f2aa4bebc8e1ec11747 +b3bdf965e78d91927632f4e7942b98d706b8f793 +0c6eb9a9eb1caec299039595b93712a7a1fc0e95 +37bd9b1f249dd390a025341b502d486476a8549d +ec8b893f6a639addc856a7c37b43ef61878dfde5 +aefd5344f027487fb80b253695005b4cf695b573 +2920328093fecd3696a7617c07ab22bcbe5d6bcb +0dbfa23ef89ae42116ac0f4cc56fa14d33570d5e +143bbb7a335579de1bbc1984522edd246a228249 +7ceb5c3c502dac5469d0c609efee7ffa00106908 +ed57b709ecd96a27cb043cd341bb7f34374d56b7 +6aa2458cb2d6d84f25dab994e6e991fa55acd64b +cfd5cb9da90da4994fa585b526e20e6e84005d84 +601445e9738c3e793e67365ee642fef9e496be40 +56032b81bc0ff432305a3c2a76fbd099d09f0a7d +536b184693c4f910e18a292be101823e00a00537 +93f896f194ce9961e5278bdbbffa3387bbc3dccf +46b9cd79a68c879d275839758f1748efe2ff6bf6 +4a12f3676f737250ea37e2a40af0e6e283d3d28d +933b49f3686f9b94e71d247ed9387db60ce266c4 +1658a432cf38303214ee3933c560eb8d6d94dc56 +3803843ba29a3181244d50f6a7741dae14965575 +44d2279271472f6af14f7ffaea49cf8459aa4d92 +8cbad9d7f11e4933c385dce121c9693065ac8179 +8ed08c5fa067dcd94d6c55482d675adde225b4cd +b654f4523e0ca318d31b980b69140876e2528dba +403ec58e21685973ac3a05e4c1977b0a5fcd4249 +afaf2918c6144a1776d4e1e89963ade1ac8c2a67 +48a9832a7a6e586cf949a74ddab1fb45f08dc7a5 +73c93cfbd2f6ab6a2d2d871415ddf9d2f2972d2d +a822d34c5a4b52bd20ac7b49339fceb289157ce3 +8dd21dbd94216a26b14969744a1a0c5fed9b5e0e +53608879b9ad3dd0c9a46783ed39b9a83d9b4839 +a6102da28643a1ce8dc563609169a78915b6b93e +5df01f1aea6350990863d390a0ec09f53c7badba +867aad941ee9460393589af59a4871d10d37c223 +00a8fc1f61b31b84b9c377c1943b10614f24a236 +e2ec6bbcdc12167dcee896003783dc5c6c4ee21e +aecbf89cf2f7ac7ed61c3cae1f952434d1ca4ab7 +024476cc6f1cf0babd1818c7044214987e165599 +80bece6f68c65ff2d53a4d54f9d91909c99f41c2 +f3db0cb55911b9f61b78b18333faedc4475d5e10 +a3102f45b452e2cabfc2ebda9df7209464fd81e6 +ef66652a133e72449bd0124d479f1e587dcc32c2 +1ec5a0bd2c81fec1b5ba2572bd26df6f602e3de5 +84982d61311ada39ab7138e7f6b8896470cfdd32 +39cc9223d2af5b833ed0b4a63bd2bc0d1e49c429 +0a7148d62b492b7e54a918323ed0fbcd3ddbb1bb +4ae22d878f8f686f9335b0a038b7ccb01383ffdf +16a6b797bcf3f7738c6ffbc4c74336b4d0273264 +e004a70d0b99ca9c9d84eb7764c4a44fd9357d81 +651ef9ac56fa86ba186e9594d859eecc93d9674d +7157ef2a9bdb6d9026c8a8213232b662b333694d +a6ee74ffe4f686b0334fa536c9eab12aebce41ad +d0667bb70f20751e5f073eae4ba5040b601279ac +52776dcf5bdcafc6192787a6b218298e487de194 +07155ab53f327dd2f5191a3026ada751c7370071 +75421d7e85982a9f9497d8c8d4252a73834aca61 +c8d14936505e8e9a9c99a7884b73acd25d44b126 +5c19f6e387fb4ac6dc6bf47f8ad185a91ca8819f +02660e0f63ecfc7c0834b98c682566dbdfaef554 +c047a99306810187d2bca622323faca3ea72d729 +20dbbd595a00f6e7090014c4bd788763ccdfa700 +b1fc33d2aafadca1f261698cf54151297e48de62 +ac3fc11bfd3acad03662cd58896da287e6153e64 +fe2ed45ee70f1bb311b988a6ae3e3195dd248dd2 +e53a8235813b8649775c3013051efcbfe8dbdfb3 +37b5cf44143419af3598e41e1a88baf2bb034ef2 +866cbd33bc1dddcb323a38fa978a439eea8afb07 +2fc1e0a9283d4efdd27048a76154e4b59e246ead +ef18de474d1f272657d3f591944743c275084dcc +382a973e1400319df4258656b6b35297bfad9911 +878b7b4d2ad9d303410f628d857773c844850001 +bacdea35f6611ab020eb7ff7d6ef0cd84ce37046 +867f5dfe53358de696a0e7d082a847a7dd0a39fd +5b084ef31c609472edf3b74c073f735139631352 +1e04c69d5e4b1e4951a9db4795160d841adeae80 +b1f1c63585da2cf2b04f85af1c3ea2ef0c08c060 +a61da424bff7e0133a50e984dd7dd65fdee997ee +6f5890a81b71e4f03eb228b2106ffaf90b4e34af +8e938e329912b46c6b6cdcf2b1f55ae7d07a9425 +5c9ec1029b92e23f14cd41e71feedbf5f192ddf5 +f01cba4dc5d94d5228332ae5ed5e449bd9ee49e5 +d080f1b3649e47a233584a314caab502d2103767 +6c71a583bc5b31a9c5886a0215f42b476b9effed +4feaf4a17dc6ada863211463266e698a18bc8d1a +0c07781bdc80d961ff375bd6476a8c804a0041cd +05def135291a23cad8106134e83748c237aabde7 diff --git a/.githooks/post-commit b/.githooks/post-commit new file mode 100755 index 0000000..d4fd5ea --- /dev/null +++ b/.githooks/post-commit @@ -0,0 +1,5 @@ +#!/bin/bash +git cliff --bump > CHANGELOG.md +if ! git diff --quiet -- CHANGELOG.md; then + git commit --amend --no-edit --quiet CHANGELOG.md +fi diff --git a/CHANGELOG.md b/CHANGELOG.md index b2e0bee..a841922 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +## [0.5.4] - 2024-10-14 + +### Miscellaneous Tasks + +- Add hook for automatic changelog generation + ## [0.5.3] - 2023-01-15 ### Miscellaneous Tasks diff --git a/cliff.toml b/cliff.toml index 527de45..2c580be 100644 --- a/cliff.toml +++ b/cliff.toml @@ -69,3 +69,6 @@ topo_order = false sort_commits = "oldest" # limit the number of commits included in the changelog. # limit_commits = 42 + +[bump] +breaking_always_bump_major = false