From d3115917695d33b2df4ae877320378bbe31d53ef Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Sat, 14 Jul 2018 17:26:41 +0200 Subject: [PATCH] massrebuilder: add darwin label for titles including macOS --- ofborg/src/tasks/massrebuilder.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ofborg/src/tasks/massrebuilder.rs b/ofborg/src/tasks/massrebuilder.rs index bbb1520..2f59569 100644 --- a/ofborg/src/tasks/massrebuilder.rs +++ b/ofborg/src/tasks/massrebuilder.rs @@ -62,7 +62,10 @@ impl MassRebuildWorker { fn tag_from_title(&self, issue: &hubcaps::issues::IssueRef) { let darwin = issue.get() - .map(|iss| iss.title.to_lowercase().contains("darwin")) + .map(|iss| { + iss.title.to_lowercase().contains("darwin") || + iss.title.to_lowercase().contains("macos") + }) .unwrap_or(false); if darwin {