feat(cli): split commit and release into target-based workflows
This commit is contained in:
@@ -10,7 +10,7 @@ interface ICommitSummary {
|
||||
commitType: string;
|
||||
commitScope: string;
|
||||
commitMessage: string;
|
||||
newVersion: string;
|
||||
newVersion?: string;
|
||||
commitSha?: string;
|
||||
pushed: boolean;
|
||||
repoUrl?: string;
|
||||
@@ -197,9 +197,14 @@ export function printSummary(summary: ICommitSummary): void {
|
||||
`Branch: 🌿 ${summary.branch}`,
|
||||
`Commit Type: ${getCommitTypeEmoji(summary.commitType)}`,
|
||||
`Scope: 📍 ${summary.commitScope}`,
|
||||
`New Version: 🏷️ v${summary.newVersion}`,
|
||||
];
|
||||
|
||||
if (summary.newVersion) {
|
||||
lines.push(`New Version: 🏷️ v${summary.newVersion}`);
|
||||
} else {
|
||||
lines.push(`Version: ⊘ Not bumped`);
|
||||
}
|
||||
|
||||
if (summary.commitSha) {
|
||||
lines.push(`Commit SHA: 📌 ${summary.commitSha}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user