Merge pull request #197 from LnL7/tag-macos
massrebuilder: add darwin label for titles including macOS
This commit is contained in:
commit
a1d1f1209f
|
@ -62,7 +62,10 @@ impl<E: stats::SysEvents> MassRebuildWorker<E> {
|
||||||
|
|
||||||
fn tag_from_title(&self, issue: &hubcaps::issues::IssueRef) {
|
fn tag_from_title(&self, issue: &hubcaps::issues::IssueRef) {
|
||||||
let darwin = issue.get()
|
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);
|
.unwrap_or(false);
|
||||||
|
|
||||||
if darwin {
|
if darwin {
|
||||||
|
|
Loading…
Reference in a new issue