mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2026-05-04 18:29:30 +02:00
chore: add torikae for bumping version
This commit is contained in:
parent
6b0680673d
commit
0013ca1a3f
3 changed files with 27 additions and 1 deletions
|
|
@ -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 = [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue