From f1b4bd1487dc5af45bad6dccc18a2c17f1b7b6a5 Mon Sep 17 00:00:00 2001 From: "Benjamin E. Coe" Date: Tue, 27 Aug 2019 14:10:12 -0700 Subject: [PATCH] fix: address a couple more bugs with Ruby libraries (#242) --- src/release-pr.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/release-pr.ts b/src/release-pr.ts index d2cc17447..69966819b 100644 --- a/src/release-pr.ts +++ b/src/release-pr.ts @@ -1,5 +1,5 @@ /** - * Copyright 2019 Google LLC. All Rights Reserved. + * Copyright 2019 Google LLC. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -123,7 +123,7 @@ export class ReleasePR { if (pr.number !== currentPRNumber) { // on mono repos that maintain multiple open release PRs, we use the // pull request title to differentiate between PRs: - if (includePackageName && !pr.title.includes(this.packageName)) { + if (includePackageName && !pr.title.includes(` ${this.packageName} `)) { continue; } checkpoint(`closing pull #${pr.number}`, CheckpointType.Failure);