Skip to content

Commit 5f0ece6

Browse files
authored
Merge pull request #669 from AriaXLi/maint_update_commits_rake
(maint) Update commits.rake to check for "Release prep"
2 parents a4130e5 + 6d9a90f commit 5f0ece6

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|pa-\d+)\)|revert/i.match(commit_summary).nil?
10+
if /^Release prep|\((maint|packaging|doc|docs|pa-\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)