Skip to content

Commit

Permalink
chore(CD): explicitly calling angularChangelogConvetion method to fix…
Browse files Browse the repository at this point in the history
… undefined (#3536)
  • Loading branch information
FelixBlaisThon authored Sep 6, 2023
1 parent eab8605 commit 87bba99
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/actions/publish/index.mjs
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
import {
generateChangelog,
getNextVersion,
getCommits,
getNextVersion,
getRemoteName,
gitCommit,
gitPush,
gitPushTags,
gitSetupSshRemote,
gitSetupUser,
gitTag,
gitCommit,
parseCommits,
pnpmBumpVersion,
pnpmGetChangedPackages,
pnpmPublish,
writeChangelog,
gitSetupSshRemote,
gitSetupUser,
} from '@coveo/semantic-monorepo-tools';
import angularChangelogConvention from 'conventional-changelog-angular';

Expand Down Expand Up @@ -43,7 +43,7 @@ export default async ({github, context, exec}, {
await gitSetupSshRemote(context.repo.owner, context.repo.repo, process.env.DEPLOY_KEY, GIT_SSH_REMOTE);
await gitSetupUser(GIT_USERNAME, GIT_EMAIL);

const convention = await angularChangelogConvention;
const convention = await angularChangelogConvention();

const lastTag = await getLastTag();
console.info('Last tag: %s', lastTag);
Expand Down

0 comments on commit 87bba99

Please sign in to comment.