-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(changelog): omit version heading in forge release notes
The forge ui usually shows the release name right above the description, so this removes an unecessary duplicate bit of information. In addition this also cleans up the changelog interface a bit and moves functionality where it belongs. Prepares a bit for custom changelogs in the future. Closes #32
- Loading branch information
Showing
5 changed files
with
72 additions
and
35 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
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 |
---|---|---|
@@ -1,22 +1,24 @@ | ||
## [{{.Version}}]({{.VersionLink}}) | ||
{{- if .Prefix }} | ||
{{ .Prefix }} | ||
{{define "entry" -}} | ||
- {{ if .Scope }}**{{.Scope}}**: {{end}}{{.Description}} | ||
{{ end }} | ||
|
||
{{- if not .Formatting.HideVersionTitle }} | ||
## [{{.Data.Version}}]({{.Data.VersionLink}}) | ||
{{ end -}} | ||
{{- if .Data.Prefix }} | ||
{{ .Data.Prefix }} | ||
{{ end -}} | ||
{{- if (gt (len .Features) 0) }} | ||
{{- with .Data.Commits.feat }} | ||
### Features | ||
|
||
{{ range .Features -}} | ||
- {{ if .Scope }}**{{.Scope}}**: {{end}}{{.Description}} | ||
{{ end -}} | ||
{{ range . -}}{{template "entry" .}}{{end}} | ||
{{- end -}} | ||
{{- if (gt (len .Fixes) 0) }} | ||
{{- with .Data.Commits.fix }} | ||
### Bug Fixes | ||
|
||
{{ range .Fixes -}} | ||
- {{ if .Scope }}**{{.Scope}}**: {{end}}{{.Description}} | ||
{{ end -}} | ||
{{ range . -}}{{template "entry" .}}{{end}} | ||
{{- end -}} | ||
|
||
{{- if .Suffix }} | ||
{{ .Suffix }} | ||
{{- if .Data.Suffix }} | ||
{{ .Data.Suffix }} | ||
{{ 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
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