Skip to content

Commit

Permalink
ci: run prettier on the changelog before committing it to Git
Browse files Browse the repository at this point in the history
  • Loading branch information
LuudJanssen committed Mar 4, 2024
1 parent f2204b9 commit 04a33b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@
"infile": "CHANGELOG.md",
"header": "# Changelog"
}
},
"hooks": {
"after:@release-it/conventional-changelog:beforeRelease": "pnpm prettier --write CHANGELOG.md"
}
}

0 comments on commit 04a33b8

Please sign in to comment.