chore: add bumpversion

This commit is contained in:
technofab 2025-06-12 14:54:37 +02:00
parent 69e0f7a419
commit 3cb2f8cf80
No known key found for this signature in database
3 changed files with 33 additions and 0 deletions

View file

@ -8,6 +8,7 @@
imports = [
inputs.devenv.flakeModule
inputs.treefmt-nix.flakeModule
inputs.nix-devtools.flakeModule
inputs.nix-mkdocs.flakeModule
inputs.nixtest.flakeModule
./lib/flakeModule.nix
@ -52,6 +53,18 @@
};
};
};
bumpversion = {
enable = true;
current_version = "2.0.1";
commit = true;
tag = true;
message = "bump: {current_version} {new_version}";
file = {
"flake.nix".formats = [''current_version = "{version}";''];
"lib/VERSION".formats = ["{version}"];
};
};
};
doc = {
path = ./docs;
@ -283,6 +296,7 @@
systems.url = "github:nix-systems/default-linux";
devenv.url = "github:cachix/devenv";
treefmt-nix.url = "github:numtide/treefmt-nix";
nix-devtools.url = "gitlab:technofab/nix-devtools?dir=lib";
nix-mkdocs.url = "gitlab:technofab/nixmkdocs?dir=lib";
mkdocs-material-umami.url = "gitlab:technofab/mkdocs-material-umami";
nixtest.url = "gitlab:technofab/nixtest/1.0.0?dir=lib";