fix: Changelog containing commits after the current tag (#7)

This commit is contained in:
Ardalan Amini committed 2022-02-20 18:17:51 +03:30
1 parent 8bfda644cc
commit 7cb2e018cf
4 files changed
+28 -14

No files matched your search

+8 -1
View File
@@ -25,7 +25,14 @@ async function run() {
} else tagRef = tags[0].commit.sha;
}
const changelog = await generate(octokit, exclude, owner, repo, tagRef);
const changelog = await generate({
octokit,
exclude,
owner,
repo,
sha,
tagRef,
});
info(changelog);