Skip to content

Commit

Permalink
Merge pull request #669 from AriaXLi/maint_update_commits_rake
Browse files Browse the repository at this point in the history
(maint) Update commits.rake to check for "Release prep"
  • Loading branch information
mhashizume authored Sep 21, 2023
2 parents a4130e5 + 6d9a90f commit 5f0ece6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rakelib/commits.rake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ task(:commits) do
%x{git log --no-merges --pretty=%s #{commit_range}}.each_line do |commit_summary|
# This regex tests for the currently supported commit summary tokens.
# The exception tries to explain it in more full.
if /^\((maint|packaging|doc|docs|pa-\d+)\)|revert/i.match(commit_summary).nil?
if /^Release prep|\((maint|packaging|doc|docs|pa-\d+)\)|revert/i.match(commit_summary).nil?
raise "\n\n\n\tThis commit summary didn't match CONTRIBUTING.md guidelines:\n" \
"\n\t\t#{commit_summary}\n" \
"\tThe commit summary (i.e. the first line of the commit message) should start with one of:\n" \
Expand Down

0 comments on commit 5f0ece6

Please sign in to comment.