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