Skip to content

Commit

Permalink
doc(repo|changelog): repeating version and full diff
Browse files Browse the repository at this point in the history
  • Loading branch information
ndopj committed Oct 4, 2023
1 parent f7e6c9f commit fb0c080
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .chglog/CHANGELOG.tpl.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{ range .Versions }}
<a name="{{ .Tag.Name }}"></a>
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }}
- Full diff - {{ if .Tag.Previous }}**[{{ .Tag.Previous.Name }}...{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }})**{{ else }}{{ .Tag.Name }}{{ end }}

> {{ datetime "2006-01-02" .Tag.Date }}
Expand Down
10 changes: 5 additions & 5 deletions .chglog/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ options:
- feat
- fix
- perf
# - refactor
- docs
commit_groups:
title_maps:
feat: Features
fix: Bug Fixes
perf: Performance Improvements
# refactor: Code Refactoring
feat: ":sparkles: Features"
fix: ":bug: Bug Fixes"
perf: ":zap: Performance Improvements"
docs: ":books: Documentation (unchanged functionality)"
header:
pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s\\:\\|\\-]*)\\))?\\:\\s(.*)$"
pattern_maps:
Expand Down

0 comments on commit fb0c080

Please sign in to comment.