Skip to content

Commit

Permalink
fix: replace %message% as last to avoid bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
lekterable committed Apr 25, 2020
1 parent 8f62202 commit ec50739
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
- stop adding empty line at the end of the file on --root [faee4801](https://github.com/lekterable/perfekt/commit/faee480108aab450a606ac8132f89c9f42ec8ab3)
- stop adding Latest when not applicable [c64fa467](https://github.com/lekterable/perfekt/commit/c64fa4673612f90b349d125912f07d5db4140bcd)

## Misc

- include commit links in the changelog [8f622021](https://github.com/lekterable/perfekt/commit/8f622021665bc6076d00fde6527800980eba836a)

# 1.0.0

## BREAKING
Expand Down
2 changes: 1 addition & 1 deletion src/utils/changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,6 @@ export const generateChangelog = (version, groups, config) => {

export const generateLine = ({ message, hash }, config) =>
config.lineFormat
.replace('%message%', message)
.replace('%HASH%', hash)
.replace('%hash%', hash.slice(0, 8))
.replace('%message%', message)

0 comments on commit ec50739

Please sign in to comment.