From 9c6bab2f9e12d1328f9913006c73ea20aec2af82 Mon Sep 17 00:00:00 2001 From: Guillaume Aubert Date: Sun, 19 Apr 2015 10:47:52 -0700 Subject: [PATCH] Force version tags to have a matching entry in the changelog. --- .githooksrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.githooksrc b/.githooksrc index 995e85c..80d43f8 100644 --- a/.githooksrc +++ b/.githooksrc @@ -1,4 +1,4 @@ -force_plugins = PerlCompile, PerlCritic, ValidatePODFormat, BlockNOCOMMIT, PrependTicketID, RequireCommitMessage, ValidateChangelogFormat +force_plugins = PerlCompile, PerlCritic, ValidatePODFormat, BlockNOCOMMIT, PrependTicketID, RequireCommitMessage, ValidateChangelogFormat, VersionTagsRequireChangelog project_prefixes = GH extract_ticket_id_from_branch = /^($project_prefixes\d+)/ normalize_branch_ticket_id = s/^(.*?)(\d+)$/\U$1-$2/ @@ -9,3 +9,6 @@ commit_prefix_format = /($ticket_id) / [PerlCompile] lib_paths = ./lib/ + +[VersionTagsRequireChangelog] +changelog_path = Changes