Skip to content

Commit

Permalink
chore: include committer name in changelog for contributors
Browse files Browse the repository at this point in the history
  • Loading branch information
oedotme committed Dec 27, 2022
1 parent a44d2c2 commit 23b9c23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
"requireCleanWorkingDir": true,
"commit": true,
"commitMessage": "release: v${version}",
"changelog": "echo '### Commits'; git log --pretty=format:'- %s (%h)' ${from}...${to}; echo '\n'; echo 'https://${repo.host}/${repo.repository}/compare/${latestTag}...NEW'",
"changelog": "echo '## Commits'; git log --pretty=format:'- %s %h by @%cn' ${from}...${to}; echo '\n\n**Changelog**: https://${repo.host}/${repo.repository}/compare/${latestTag}...TAG'",
"push": true,
"skipChecks": true
},
"github": {
"release": true,
"releaseName": "v${version}",
"releaseNotes": "echo \"${changelog}\" | sed 's|NEW|v${version}|'",
"releaseNotes": "echo \"${changelog}\" | sed 's|TAG|v${version}|'",
"web": true,
"skipChecks": true
},
Expand Down

0 comments on commit 23b9c23

Please sign in to comment.