Skip to content

Commit

Permalink
πŸ”§ changesets: mention multiple versions in commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Nov 27, 2024
1 parent e2d98a3 commit 304ac77
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .changeset/commit.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/** @type {import('@changesets/types').CommitFunctions} */
module.exports = {
getVersionMessage: ({ releases: [{ newVersion }] }) => Promise.resolve(`πŸ”– v${newVersion}`),
getVersionMessage: ({ releases }) =>
Promise.resolve(
`πŸ”– release: ${releases.map(({ name, newVersion }) => `${name.replace(/^@exactly\//, "")}@${newVersion}`).join(", ")}`,
),
};

0 comments on commit 304ac77

Please sign in to comment.