From aae34915815f652365608fc6cf6486c608312dac Mon Sep 17 00:00:00 2001 From: MartyHenderson Date: Wed, 24 Jun 2020 16:28:36 -0500 Subject: [PATCH] fix(next): Retrieves most recent tag before returning the entire git history --- packages/core/src/auto.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/auto.ts b/packages/core/src/auto.ts index b9101d462..8e81a889a 100644 --- a/packages/core/src/auto.ts +++ b/packages/core/src/auto.ts @@ -1254,6 +1254,7 @@ export default class Auto { initialForkCommit || (await this.git.getLatestRelease()); const lastTag = (await this.git.getLastTagNotInBaseBranch(currentBranch!)) || + (await this.git.getLatestTagInBranch(currentBranch)) || (await this.git.getFirstCommit()); const fullReleaseNotes = await this.release.generateReleaseNotes( lastRelease