Skip to content

Commit

Permalink
Merge pull request #556 from player-ui/maint/fix-releases
Browse files Browse the repository at this point in the history
Fix Releases
  • Loading branch information
KetanReddy authored Dec 4, 2024
2 parents bc36328 + 35b2cad commit d5818ba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/next-changelogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@ class NextChangelogsPlugin {
auto.hooks.next.tapPromise(this.name, async ({ dryRun }) => {
const latestRelease = getLatestReleaseTag();
if (dryRun) {
auto.logger.log.info(`Dry run: making changelog from last release: ${latestRelease}`);
auto.logger.log.info(
`Dry run: making changelog from last release: ${latestRelease}`,
);
} else {
await auto.changelog({ from: latestRelease });
await await execPromise("git", ["push", auto.remote, auto.baseBranch]);
}
});
}
Expand Down

0 comments on commit d5818ba

Please sign in to comment.