Skip to content

Commit

Permalink
fix(next): Retrieves most recent tag before returning the entire git …
Browse files Browse the repository at this point in the history
…history
  • Loading branch information
10hendersonm committed Jun 24, 2020
1 parent 8036fcf commit aae3491
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/auto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aae3491

Please sign in to comment.