diff --git a/ghost/release-utils/lib/releases.js b/ghost/release-utils/lib/releases.js index 8c99350b6b..51be5a67ae 100644 --- a/ghost/release-utils/lib/releases.js +++ b/ghost/release-utils/lib/releases.js @@ -22,7 +22,7 @@ function getFinalChangelog(options) { if (filterEmojiCommits) { changelog = localUtils.filterEmojiCommits(changelog); - changelog.sortByEmoji(); + localUtils.sortByEmoji(changelog); } if (_.isEmpty(changelog)) {