From 6566c0b967a093f524eb62a6df42e43c118fb712 Mon Sep 17 00:00:00 2001 From: Bailey Pearson Date: Fri, 8 Dec 2023 12:13:07 -0700 Subject: [PATCH] add debug logs --- packages/build/src/git/tags.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/build/src/git/tags.ts b/packages/build/src/git/tags.ts index 06091724e..00cadba65 100644 --- a/packages/build/src/git/tags.ts +++ b/packages/build/src/git/tags.ts @@ -28,14 +28,20 @@ export function getLatestDraftOrReleaseTagFromLog( encoding: 'utf-8', }); + console.error({ gitTags }); + const tagDetails = extractTags( gitTags.stdout.split('\n'), versionRestriction ); + + console.error({ tagDetails }); const sortedTagsWithCommit = tagDetails.sort((t1, t2) => { return -1 * semver.compare(t1.semverName, t2.semverName); }); + console.error({ sortedTagsWithCommit }); + if (!sortedTagsWithCommit.length) { return undefined; }