Skip to content

Commit

Permalink
feat: add log changelog file (#111)
Browse files Browse the repository at this point in the history
* feat: add log changelog file

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>

* fix: rename cmd name

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>

---------

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
  • Loading branch information
cubxxw authored Jul 13, 2023
1 parent 2ceb715 commit 9ad3907
Show file tree
Hide file tree
Showing 20 changed files with 630 additions and 4 deletions.
62 changes: 62 additions & 0 deletions CHANGELOG/.chglog/CHANGELOG.tpl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Version logging for OpenIM

<!-- BEGIN MUNGE: GENERATED_TOC -->

<!-- END MUNGE: GENERATED_TOC -->

{{ 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 -}}

{{- if .RevertCommits -}}
### Reverts
{{ range .RevertCommits -}}
- {{ .Revert.Header }}
{{ end }}
{{ end -}}

{{- if .MergeCommits -}}
### Pull Requests
{{ range .MergeCommits -}}
- {{ .Header }}
{{ end }}
{{ end -}}

{{- if .NoteGroups -}}
{{ range .NoteGroups -}}
### {{ .Title }}
{{ range .Notes }}
{{ .Body }}
{{ end }}
{{ end -}}
{{ end -}}
{{ end -}}

{{- if .Versions }}
[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 -}}
67 changes: 67 additions & 0 deletions CHANGELOG/.chglog/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
bin: git
style: github
template: CHANGELOG.tpl.md
info:
title: CHANGELOG
repository_url: https://github.com/OpenIMSDK/openim-sdk-core
options:
tag_filter_pattern: '^v'
sort: "date"

commits:
filters:
Type:
- feat
- fix
- perf
- refactor
- docs
- test
- chore
- ci
- build
sort_by: Scope

commit_groups:
group_by: Type
sort_by: Title
title_order:
- feat
- fix
- perf
- refactor
- docs
- test
- chore
- ci
- build
title_maps:
feat: Features

header:
pattern: "<regexp>"
pattern_maps:
- PropName

issues:
prefix:
- #

refs:
actions:
- Closes
- Fixes

merges:
pattern: "^Merge branch '(\\w+)'$"
pattern_maps:
- Source

reverts:
pattern: "^Revert \"([\\s\\S]*)\"$"
pattern_maps:
- Header

notes:
keywords:
- BREAKING CHANGE
42 changes: 42 additions & 0 deletions CHANGELOG/CHANGELOG-1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Version logging for OpenIM

<!-- BEGIN MUNGE: GENERATED_TOC -->

<!-- END MUNGE: GENERATED_TOC -->

<a name="unreleased"></a>
## [Unreleased]


<a name="v1.0.7"></a>
## [v1.0.7] - 2021-12-10

<a name="v1.0.6"></a>
## [v1.0.6] - 2021-12-03

<a name="v1.0.5"></a>
## [v1.0.5] - 2021-11-25

<a name="v1.0.4"></a>
## [v1.0.4] - 2021-11-12

<a name="v1.0.3"></a>
## [v1.0.3] - 2021-11-05

<a name="v1.0.2"></a>
## [v1.0.2] - 2021-11-04

<a name="v1.0.1"></a>
## [v1.0.1] - 2021-11-03

<a name="v1.0.0"></a>
## v1.0.0 - 2021-10-28

[Unreleased]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v1.0.7...HEAD
[v1.0.7]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v1.0.6...v1.0.7
[v1.0.6]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v1.0.5...v1.0.6
[v1.0.5]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v1.0.4...v1.0.5
[v1.0.4]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v1.0.3...v1.0.4
[v1.0.3]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v1.0.2...v1.0.3
[v1.0.2]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v1.0.1...v1.0.2
[v1.0.1]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v1.0.0...v1.0.1
Empty file added CHANGELOG/CHANGELOG-1.1.md
Empty file.
92 changes: 92 additions & 0 deletions CHANGELOG/CHANGELOG-2.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# Version logging for OpenIM

<!-- BEGIN MUNGE: GENERATED_TOC -->

<!-- END MUNGE: GENERATED_TOC -->

<a name="unreleased"></a>
## [Unreleased]


<a name="v2.3.3"></a>
## [v2.3.3] - 2022-09-16

<a name="v2.3.2"></a>
## [v2.3.2] - 2022-09-09

<a name="v2.3.0-rc0"></a>
## [v2.3.0-rc0] - 2022-07-15

<a name="v2.2.0"></a>
## [v2.2.0] - 2022-07-01
### Pull Requests
- Merge branch 'tuoyun'


<a name="v2.1.0"></a>
## [v2.1.0] - 2022-06-17

<a name="v2.0.9"></a>
## [v2.0.9] - 2022-05-11

<a name="v2.0.8"></a>
## [v2.0.8] - 2022-04-29
### Pull Requests
- Merge branch 'tuoyun'


<a name="v2.0.7"></a>
## [v2.0.7] - 2022-04-22

<a name="v2.0.6"></a>
## [v2.0.6] - 2022-04-08

<a name="v2.0.5"></a>
## [v2.0.5] - 2022-04-01
### Pull Requests
- Merge branch 'tuoyun'


<a name="v2.0.4"></a>
## [v2.0.4] - 2022-03-25

<a name="v2.0.3"></a>
## [v2.0.3] - 2022-03-18
### Pull Requests
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'


<a name="v2.0.2"></a>
## [v2.0.2] - 2022-02-24

<a name="v2.0.1"></a>
## [v2.0.1] - 2022-02-24
### Pull Requests
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'


<a name="v2.0.0"></a>
## v2.0.0 - 2022-02-23

[Unreleased]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v2.3.3...HEAD
[v2.3.3]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v2.3.2...v2.3.3
[v2.3.2]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v2.3.0-rc0...v2.3.2
[v2.3.0-rc0]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v2.2.0...v2.3.0-rc0
[v2.2.0]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v2.1.0...v2.2.0
[v2.1.0]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v2.0.9...v2.1.0
[v2.0.9]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v2.0.8...v2.0.9
[v2.0.8]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v2.0.7...v2.0.8
[v2.0.7]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v2.0.6...v2.0.7
[v2.0.6]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v2.0.5...v2.0.6
[v2.0.5]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v2.0.4...v2.0.5
[v2.0.4]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v2.0.3...v2.0.4
[v2.0.3]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v2.0.2...v2.0.3
[v2.0.2]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v2.0.1...v2.0.2
[v2.0.1]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v2.0.0...v2.0.1
23 changes: 23 additions & 0 deletions CHANGELOG/CHANGELOG-2.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Version logging for OpenIM

<!-- BEGIN MUNGE: GENERATED_TOC -->

<!-- END MUNGE: GENERATED_TOC -->

<a name="unreleased"></a>
## [Unreleased]


<a name="v2.1.0"></a>
## v2.1.0 - 2022-06-17
### Pull Requests
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'


[Unreleased]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v2.1.0...HEAD
24 changes: 24 additions & 0 deletions CHANGELOG/CHANGELOG-2.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Version logging for OpenIM

<!-- BEGIN MUNGE: GENERATED_TOC -->

<!-- END MUNGE: GENERATED_TOC -->

<a name="unreleased"></a>
## [Unreleased]


<a name="v2.2.0"></a>
## v2.2.0 - 2022-07-01
### Pull Requests
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'


[Unreleased]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v2.2.0...HEAD
32 changes: 32 additions & 0 deletions CHANGELOG/CHANGELOG-2.3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Version logging for OpenIM

<!-- BEGIN MUNGE: GENERATED_TOC -->

<!-- END MUNGE: GENERATED_TOC -->

<a name="unreleased"></a>
## [Unreleased]


<a name="v2.3.3"></a>
## [v2.3.3] - 2022-09-16

<a name="v2.3.2"></a>
## [v2.3.2] - 2022-09-09

<a name="v2.3.0-rc0"></a>
## v2.3.0-rc0 - 2022-07-15
### Pull Requests
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'
- Merge branch 'tuoyun'


[Unreleased]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v2.3.3...HEAD
[v2.3.3]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v2.3.2...v2.3.3
[v2.3.2]: https://github.com/OpenIMSDK/openim-sdk-core/compare/v2.3.0-rc0...v2.3.2
Loading

0 comments on commit 9ad3907

Please sign in to comment.