Skip to content

Commit

Permalink
👷 Proper commit name on changelogs
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz authored Nov 1, 2024
1 parent c19a6cd commit ecfe790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/scripts/generate-changelog.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ async function run() {

// Create another branch and commit on it
const branchName = `changelog-${Math.random().toString(16).substring(2)}`;
const commitName = `🔖 Update CHANGELOG.md for ${allBumps.map((b) => `${b.ident}@${b.newVersion}`).join(', ')}`;
const commitName = `🔖 Update CHANGELOG.md for ${allBumps.map((b) => `${b.name}@${b.newVersion}`).join(', ')}`;
await execFile('git', ['checkout', '-b', branchName]);
await execFile('git', ['commit', '-m', commitName]);
await execFile('git', ['push', '--set-upstream', 'origin', branchName]);
Expand Down

0 comments on commit ecfe790

Please sign in to comment.