Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Commit

Permalink
Fix sort option (#49)
Browse files Browse the repository at this point in the history
Co-authored-by: Federico <[email protected]>
  • Loading branch information
BelKed and fregante authored Oct 4, 2021
1 parent 8c92e46 commit 304ef3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions distribution/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async function run() {
const commitTemplate = core.getInput('commit-template');
const exclude = core.getInput('exclude');
const dateFormat = core.getInput('date-format');
const reverseSort = core.getInput('reverse-sort');
const sort = core.getInput('sort');
const isDraft = core.getInput('draft') === 'true';
const isPrerelease = core.getInput('prerelease') === 'true';
const skipOnEmpty = core.getInput('skip-on-empty') === 'true';
Expand Down Expand Up @@ -49,7 +49,7 @@ async function run() {

core.info('Computed range: ' + range);

const releaseNotes = await generateReleaseNotes({range, exclude, commitTemplate, releaseTemplate, dateFormat, reverseSort, skipOnEmpty});
const releaseNotes = await generateReleaseNotes({range, exclude, commitTemplate, releaseTemplate, dateFormat, sort, skipOnEmpty});

// Skip creating release if no commits
// Explicit check to avoid matching an empty string https://github.com/fregante/release-with-changelog/pull/48#discussion_r719593452
Expand Down

0 comments on commit 304ef3a

Please sign in to comment.