chore: add torikae for bumping version

This commit is contained in:
technofab 2026-04-29 13:24:50 +02:00
parent 6b0680673d
commit 0013ca1a3f
Signed by: technofab
SSH key fingerprint: SHA256:bV4h88OqS/AxjbPn66uUdvK9JsgIW4tv3vwJQ8tpMqQ
3 changed files with 27 additions and 1 deletions

View file

@ -3,7 +3,7 @@
inputs,
...
}: let
inherit (inputs) pkgs devshell treefmt devtools-lib;
inherit (inputs) pkgs devshell treefmt devtools-lib torikae;
inherit (cell) soonix;
treefmtWrapper = treefmt.mkWrapper pkgs {
projectRootFile = "flake.nix";
@ -55,6 +55,11 @@ in {
cocogitto.config = {
tag_prefix = "v";
ignore_merge_commits = true;
pre_bump_hooks = let
config = {file."lib/VERSION".formats = ["v{version}"];};
in [
"${torikae.mk config} {{latest}} {{version}}"
];
changelog = {
authors = [
{