refactor(commands): change changelog output text

remove quote literals from hashes in order to make them reference, add changelog description
This commit is contained in:
2023-08-20 03:57:01 +03:00
parent d30071e3d7
commit 85649a71a6

View File

@@ -208,6 +208,7 @@ program
let parsedCommitStacks: Array<CommitStack> = [];
console.log("# Changelog");
console.log("Generation of this changelog is based on commits");
for (const commit of commits) {
const tag = semver.sort(
@@ -296,7 +297,7 @@ program
: firstMessageLine[0];
console.log(
`${showHashes ? `- [${"`"}${shortHash}${"`"}]` : ``} - ${
`${showHashes ? `- [${shortHash}]` : ``} - ${
type ? `**${type}**: ${briefMessage}` : briefMessage
}`
);
@@ -336,7 +337,7 @@ program
: firstMessageLine[0];
console.log(
`${showHashes ? `- [${"`"}${shortHash}${"`"}]` : ``} - ${
`${showHashes ? `- [${shortHash}]` : ``} - ${
type ? `**${type}**: ${briefMessage}` : briefMessage
}`
);
@@ -356,7 +357,7 @@ program
: firstMessageLine[0];
console.log(
`${showHashes ? `- [${"`"}${shortHash}${"`"}]` : ``} - ${
`${showHashes ? `- [${shortHash}]` : ``} - ${
type ? `**${type}**: ${briefMessage}` : briefMessage
}`
);