Skip to content

Commit

Permalink
πŸ”§ changesets: reverse release list in commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Dec 5, 2024
1 parent 1145df3 commit 02dff5e
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
Expand Up @@ -2,6 +2,9 @@
module.exports = {
getVersionMessage: ({ releases }) =>
Promise.resolve(
`πŸ”– release: ${releases.map(({ name, newVersion }) => `${name.replace(/^@exactly\//, "")}@${newVersion}`).join(", ")}`,
`πŸ”– release: ${releases
.map(({ name, newVersion }) => `${name.replace(/^@exactly\//, "")}@${newVersion}`)
.reverse()
.join(", ")}`,
),
};

0 comments on commit 02dff5e

Please sign in to comment.