-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up commands Fix infinite recursion on hint Clean up hbt.zsh Add changelog Improve Readme
- Loading branch information
Showing
14 changed files
with
247 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# CHANGELOG | ||
|
||
{{ if .Versions -}} | ||
<a name="unreleased"></a> | ||
## [Unreleased] | ||
{{ if .Unreleased.CommitGroups -}} | ||
{{ range .Unreleased.CommitGroups }} | ||
### {{ .Title }} | ||
{{ range .Commits -}} | ||
{{ if not (contains .Subject "<code>") -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ if .Subject }}{{ .Subject }}{{ else }}{{ .Header }}{{ end }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end }} | ||
{{ else }} | ||
{{ range .Unreleased.Commits -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ if .Subject }}{{ .Subject }}{{ else }}{{ .Header }}{{ end }} | ||
{{ end }} | ||
{{ end -}} | ||
|
||
{{- if .Unreleased.NoteGroups -}} | ||
{{ range .Unreleased.NoteGroups -}} | ||
### {{ .Title }} | ||
{{ range .Notes }} | ||
{{ .Body }} | ||
{{ end }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
|
||
{{ range .Versions }} | ||
<a name="{{ .Tag.Name }}"></a> | ||
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }} | ||
{{ if .CommitGroups -}} | ||
{{ range .CommitGroups }} | ||
### {{ .Title }} | ||
{{ range .Commits -}} | ||
{{ if not (contains .Subject "<code>") -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ if .Subject }}{{ .Subject }}{{ else }}{{ .Header }}{{ end }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end }} | ||
{{ else }} | ||
{{ range .Commits -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ if .Subject }}{{ .Subject }}{{ else }}{{ .Header }}{{ end }} | ||
{{ end }} | ||
{{ end -}} | ||
|
||
{{- if .NoteGroups -}} | ||
{{ range .NoteGroups -}} | ||
### {{ .Title }} | ||
{{ range .Notes }} | ||
{{ .Body }} | ||
{{ end }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
style: github | ||
template: CHANGELOG.tpl.md | ||
info: | ||
title: CHANGELOG | ||
repository_url: https://github.com/lzambarda/hbt | ||
|
||
options: | ||
commits: | ||
# filters: | ||
# Type: | ||
# - feat | ||
# - add | ||
# - return | ||
# - feature | ||
# - fix | ||
# - perf | ||
# - refactor | ||
|
||
commit_groups: | ||
# group_by: Type | ||
|
||
title_maps: | ||
feat: Added | ||
Feat: Added | ||
add: Added | ||
Add: Added | ||
feature: New Feature | ||
Feature: New Feature | ||
fix: Fixed | ||
Fix: Fixed | ||
merge: Merged | ||
Merge: Merged | ||
perf: Performance Improvements | ||
Perf: Performance Improvements | ||
Performance Improvements: Performance Improvements | ||
refactor: Code Refactoring | ||
Refactor: Code Refactoring | ||
Update: Code Refactoring | ||
|
||
header: | ||
# { header } | ||
# {type}{scope} { subject } | ||
# add(core): new feature to the thing (closes #666) | ||
# We are ignoring paranteses around the scope. | ||
pattern: "^((\\w+)(\\((\\w+)\\))?:?\\s(.+))$" | ||
pattern_maps: | ||
- Subject | ||
- Type | ||
- | ||
- Scope | ||
|
||
issues: | ||
prefix: | ||
- # | ||
|
||
refs: | ||
actions: | ||
- Closes | ||
- Fixes | ||
- Refs | ||
|
||
merges: | ||
pattern: "^Merge branch '(\\w+)'$" | ||
pattern_maps: | ||
- Source | ||
|
||
reverts: | ||
pattern: "^Revert \"([\\s\\S]*)\"$" | ||
pattern_maps: | ||
- Header | ||
|
||
notes: | ||
keywords: | ||
- BREAKING CHANGE | ||
- IMPORTANT | ||
- important |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.