diff --git a/src/manifest.ts b/src/manifest.ts index 756cddf9b..2083a7c3c 100644 --- a/src/manifest.ts +++ b/src/manifest.ts @@ -1200,10 +1200,11 @@ export class Manifest { ) { // we've either tagged all releases or they were duplicates: // adjust tags on pullRequest - await Promise.all([ - this.github.removeIssueLabels(this.labels, pullRequest.number), - this.github.addIssueLabels(this.releaseLabels, pullRequest.number), - ]); + await this.github.removeIssueLabels(this.labels, pullRequest.number); + await this.github.addIssueLabels( + this.releaseLabels, + pullRequest.number + ); } if (githubReleases.length === 0) { // If all releases were duplicate, throw a duplicate error @@ -1211,10 +1212,8 @@ export class Manifest { } } else { // adjust tags on pullRequest - await Promise.all([ - this.github.removeIssueLabels(this.labels, pullRequest.number), - this.github.addIssueLabels(this.releaseLabels, pullRequest.number), - ]); + await this.github.removeIssueLabels(this.labels, pullRequest.number); + await this.github.addIssueLabels(this.releaseLabels, pullRequest.number); } return githubReleases;