diff --git a/packages/git/src/index.ts b/packages/git/src/index.ts index 42adc4211..b60805f90 100644 --- a/packages/git/src/index.ts +++ b/packages/git/src/index.ts @@ -286,11 +286,10 @@ export async function getChangedPackagesSinceRef({ .filter((pkg, idx, packages) => packages.indexOf(pkg) === idx) ); } -async function tagExists(tagStr: string) { + +export async function tagExists(tagStr: string) { const gitCmd = await spawn("git", ["tag", "-l", tagStr]); const output = gitCmd.stdout.toString().trim(); const tagExists = !!output; return tagExists; } - - tagExists,