mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-12 02:00:13 +01:00
chore: add bumpversion
This commit is contained in:
parent
69e0f7a419
commit
3cb2f8cf80
3 changed files with 33 additions and 0 deletions
14
flake.nix
14
flake.nix
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue