@aklinker1/zero-changelog 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/get-release-notes.mjs +1 -1
- package/dist/release.mjs +1 -1
- package/package.json +1 -1
|
@@ -23,7 +23,7 @@ function getReleaseNotes(conventionalCommits, since, tag, repo) {
|
|
|
23
23
|
const authors = conventionalCommits.flatMap((commit) => commit.authors);
|
|
24
24
|
if (authors.length) {
|
|
25
25
|
const emailNameMap = authors.reduce((acc, author) => {
|
|
26
|
-
acc[author.
|
|
26
|
+
acc[author.email] ??= author.name;
|
|
27
27
|
return acc;
|
|
28
28
|
}, {});
|
|
29
29
|
const emails = new Set(conventionalCommits.flatMap((commit) => commit.authors).map((author) => author.email));
|
package/dist/release.mjs
CHANGED
|
@@ -59,7 +59,7 @@ async function release(options) {
|
|
|
59
59
|
});
|
|
60
60
|
console.log("Commits:", commits.length);
|
|
61
61
|
const conventionalCommits = parseCommits(commits);
|
|
62
|
-
console.log("Conventional commits:", conventionalCommits.length
|
|
62
|
+
console.log("Conventional commits:", conventionalCommits.length);
|
|
63
63
|
const bump = (options.bump?.trim() || void 0) ?? detectVersionBump(conventionalCommits, throwOnNoChanges);
|
|
64
64
|
console.log("Bump:", bump);
|
|
65
65
|
const version = currentVersion.bump(bump);
|