Skip to content

Commit 54d0beb

Browse files
committed
(maint) Enable commit messages to begin with FM-<digits>
1 parent d56c7a8 commit 54d0beb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rakelib/commits.rake

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ task(:commits) do
77
%x{git log --no-merges --pretty=%s #{commit_range}}.each_line do |commit_summary|
88
# This regex tests for the currently supported commit summary tokens.
99
# The exception tries to explain it in more full.
10-
if /^\((maint|packaging|doc|docs|fm|modules-\d+)\)|revert/i.match(commit_summary).nil?
10+
if /^\((maint|packaging|doc|docs|fm-\d+|modules-\d+)\)|revert/i.match(commit_summary).nil?
1111
raise "\n\n\n\tThis commit summary didn't match CONTRIBUTING.md guidelines:\n" \
1212
"\n\t\t#{commit_summary}\n" \
1313
"\tThe commit summary (i.e. the first line of the commit message) should start with one of:\n" \

0 commit comments

Comments
 (0)