diff options
Diffstat (limited to 'packages/monorepo-scripts/src/utils')
-rw-r--r-- | packages/monorepo-scripts/src/utils/github_release_utils.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/monorepo-scripts/src/utils/github_release_utils.ts b/packages/monorepo-scripts/src/utils/github_release_utils.ts index 43d0d9fc3..9b5b26d7e 100644 --- a/packages/monorepo-scripts/src/utils/github_release_utils.ts +++ b/packages/monorepo-scripts/src/utils/github_release_utils.ts @@ -24,13 +24,13 @@ export async function publishReleaseNotesAsync(updatedPublishPackages: Package[] try { await execAsync(`git tag ${tagName}`); } catch (err) { - if (_.includes(err.message, 'already exists')) { + if (_.includes(err.message, 'already exists')) { // Noop tag creation since already exists } else { throw err; } } - const {stdout} = await execAsync(`git ls-remote --tags origin refs/tags/${tagName}`); + const { stdout } = await execAsync(`git ls-remote --tags origin refs/tags/${tagName}`); if (_.isEmpty(stdout)) { await execAsync(`git push origin ${tagName}`); } |