Skip to content

Commit

Permalink
fix: address a couple more bugs with Ruby libraries (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed Aug 27, 2019
1 parent d8fff67 commit f1b4bd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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.
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit f1b4bd1

Please sign in to comment.