-
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.
devops: Adding changelogs for the module
- Loading branch information
Akhil Raj
authored and
Akhil Raj
committed
Nov 7, 2024
1 parent
71d2297
commit 036513c
Showing
2 changed files
with
84 additions
and
31 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 |
---|---|---|
@@ -1,23 +1,56 @@ | ||
{{- if .Versions -}} | ||
# Changelog | ||
Repository: https://github.com/getjavelin/javelin-python | ||
This file is automatically generated for every 'release' and contains all notable changes to the project. | ||
{{ if .Versions -}} | ||
<a name="unreleased"></a> | ||
## [Unreleased] | ||
|
||
{{ if .Unreleased.CommitGroups -}} | ||
{{ range .Unreleased.CommitGroups -}} | ||
### {{ .Title }} | ||
{{ range .Commits -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} | ||
{{ 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 }} | ||
{{ range .CommitGroups -}} | ||
### {{ .Title }} | ||
{{ range .Commits -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} | ||
{{ end }} | ||
{{ end -}} | ||
|
||
## [{{ .Tag.Name }}] - {{ datetime "2006-01-02 15:04:05 \n" .Tag.Date }} | ||
{{- if .Tag.Previous -}} | ||
[View Comparison] ({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}) | ||
{{- end }} | ||
{{- if .RevertCommits -}} | ||
### Reverts | ||
{{ range .RevertCommits -}} | ||
- {{ .Revert.Header }} | ||
{{ end }} | ||
{{ end -}} | ||
|
||
{{- with .Commits -}} | ||
{{- range . }} | ||
- {{ .Subject }} ([{{ .Hash.Short }}]) | ||
{{- end }} | ||
{{- end }} | ||
{{- if .MergeCommits -}} | ||
### Pull Requests | ||
{{ range .MergeCommits -}} | ||
- {{ .Header }} | ||
{{ end }} | ||
{{ end -}} | ||
|
||
{{- end }} | ||
{{- end }} | ||
{{- if .NoteGroups -}} | ||
{{ range .NoteGroups -}} | ||
### {{ .Title }} | ||
{{ range .Notes }} | ||
{{ .Body }} | ||
{{ end }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
|
||
{{- if .Versions }} | ||
[Unreleased]: {{ .Info.RepositoryURL }}/compare/{{ (index .Versions 0).Tag.Name }}...HEAD | ||
{{- end }} | ||
[Unreleased]: {{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...HEAD | ||
{{ range .Versions -}} | ||
{{ if .Tag.Previous -}} | ||
[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }} | ||
{{ 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 |
---|---|---|
@@ -1,23 +1,43 @@ | ||
style: "angular" | ||
|
||
# https://github.com/git-chglog/git-chglog | ||
bin: git | ||
style: "github" | ||
template: "CHANGELOG.tpl.md" | ||
|
||
info: | ||
title: "Changelog" | ||
repository_url: "https://github.com/getjavelin/javelin-python" | ||
|
||
tag: | ||
pattern: "^(v\\d+\\.\\d+\\.\\d+)$" # Example for 'v1.2.3'-style tags | ||
options: | ||
tag_filter_pattern: "^v" | ||
sort: "semver" | ||
|
||
commits: | ||
filters: | ||
Type: | ||
- feat | ||
- fix | ||
- devops | ||
sort_by: "Scope" | ||
|
||
commit_groups: | ||
title_maps: | ||
feat: "Features" | ||
fix: "Bug Fixes" | ||
commit_groups: | ||
group_by: "Type" | ||
sort_by: "Title" | ||
title_order: | ||
- feat | ||
- fix | ||
- devops | ||
title_maps: | ||
feat: "Features" | ||
fix: "Bug Fixes" | ||
devops: "DevOps" | ||
|
||
header: | ||
pattern: "^(\\w*)(\\(.+\\))?: (.+)$" | ||
pattern_maps: | ||
- type | ||
- scope | ||
- subject | ||
header: | ||
pattern: "^(\\w*)(\\(.+\\))?: (.+)$" | ||
pattern_maps: | ||
- Type | ||
- Scope | ||
- Subject | ||
|
||
notes: | ||
keywords: | ||
- BREAKING CHANGE |