aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-05-15 12:46:17 -0700
committerJade Lovelace <lix@jade.fyi>2024-05-15 14:33:35 -0700
commit2a7b3d7c94e266ef1b48d10ccbb023b1bf646424 (patch)
tree6e5da2ca51a2fbb6a021200952e520331bdff948 /misc
parentc8329e56679307f2142d711946d96364df1316d3 (diff)
build-release-notes: add change author metadata and use it
Change-Id: I6f5fb54f70b02a467bbdee4c526f59da1193f7db
Diffstat (limited to 'misc')
-rw-r--r--misc/pre-commit.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/pre-commit.nix b/misc/pre-commit.nix
index b287f3cec..ea39bc21d 100644
--- a/misc/pre-commit.nix
+++ b/misc/pre-commit.nix
@@ -60,10 +60,10 @@ pre-commit-run {
release-notes = {
enable = true;
package = pkgs.build-release-notes;
- files = "^doc/manual/rl-next(-dev)?";
+ files = ''^doc/manual/(change-authors\.yml|rl-next(-dev)?)'';
pass_filenames = false;
entry = ''
- ${lib.getExe pkgs.build-release-notes} doc/manual/rl-next doc/manual/rl-next-dev
+ ${lib.getExe pkgs.build-release-notes} --change-authors doc/manual/change-authors.yml doc/manual/rl-next doc/manual/rl-next-dev
'';
};
check-headers = {