( config: Context, pkgs: BumpObject[], )
| 58 | }; |
| 59 | |
| 60 | export const getCommitMessage = ( |
| 61 | config: Context, |
| 62 | pkgs: BumpObject[], |
| 63 | ): string => { |
| 64 | let { commitMessage } = config; |
| 65 | |
| 66 | for (const pkg of pkgs) { |
| 67 | commitMessage += `\n- ${pkg.name}@${pkg.bumpVersion}`; |
| 68 | } |
| 69 | return commitMessage; |
| 70 | }; |