Skip to content

Commit

Permalink
refactor: update release configuration to use escaped version in rele…
Browse files Browse the repository at this point in the history
…ase notes
  • Loading branch information
jqshuv committed Oct 16, 2024
1 parent 5cdc142 commit 830e821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .release-it.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
hooks: {
"before:bump": "node scripts/change-api-version.js ${version}",
// edit the CHANGELOG.md file before the release with sed 's/...main/...v\\/${version}/g'
"before:release": "pnpx changelogen@latest --from=${latestTag} --output=CHANGELOG.md && sed -i 's/...main/...v\\/${version}/g' CHANGELOG.md && git add CHANGELOG.md",
"before:release": "pnpx changelogen@latest --from=${latestTag} --output=CHANGELOG.md && sed -i '' 's/...main/...v\\/${version}/g' CHANGELOG.md && git add CHANGELOG.md",
},
git: {
commit: true,
Expand Down

0 comments on commit 830e821

Please sign in to comment.