We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d56c7a8 commit 54d0bebCopy full SHA for 54d0beb
rakelib/commits.rake
@@ -7,7 +7,7 @@ task(:commits) do
7
%x{git log --no-merges --pretty=%s #{commit_range}}.each_line do |commit_summary|
8
# This regex tests for the currently supported commit summary tokens.
9
# The exception tries to explain it in more full.
10
- if /^\((maint|packaging|doc|docs|fm|modules-\d+)\)|revert/i.match(commit_summary).nil?
+ if /^\((maint|packaging|doc|docs|fm-\d+|modules-\d+)\)|revert/i.match(commit_summary).nil?
11
raise "\n\n\n\tThis commit summary didn't match CONTRIBUTING.md guidelines:\n" \
12
"\n\t\t#{commit_summary}\n" \
13
"\tThe commit summary (i.e. the first line of the commit message) should start with one of:\n" \
0 commit comments