Skip to content

Commit

Permalink
infra: be more flexible when recognizing test commits in the release …
Browse files Browse the repository at this point in the history
…bump script

They can now have, test:, tests: prefix, or (#test), (#tests) string in
commit message.

Cherry-picked from master commit 5d1b1bb
  • Loading branch information
KKoukiou committed Oct 1, 2024
1 parent 2141302 commit 0427874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/makebumpver
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ class MakeBumpVer:
print("*** Ignoring (#infra) commit %s\n" % commit)
continue

if re.match(r".*(#test).*", summary):
if re.match(r".*(#test[s]).*", summary) or re.match(r"test[s]: .*", summary):
print("*** Ignoring (#test) commit %s\n" % commit)
continue

Expand Down

0 comments on commit 0427874

Please sign in to comment.