Skip to content

Commit

Permalink
fix: fix file
Browse files Browse the repository at this point in the history
Signed-off-by: Xinwei Xiong(cubxxw-openim) <[email protected]>
  • Loading branch information
cubxxw committed Jul 14, 2023
1 parent 48a7e1b commit 2f061b5
Show file tree
Hide file tree
Showing 4 changed files with 205 additions and 1 deletion.
56 changes: 56 additions & 0 deletions .chglog/CHANGELOG.tpl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{{ 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 -}}
27 changes: 27 additions & 0 deletions .chglog/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
style: github
template: CHANGELOG.tpl.md
info:
title: CHANGELOG
repository_url: https://github.com/kubecub/github-label-syncer
options:
commits:
# filters:
# Type:
# - feat
# - fix
# - perf
# - refactor
commit_groups:
# title_maps:
# feat: Features
# fix: Bug Fixes
# perf: Performance Improvements
# refactor: Code Refactoring
header:
pattern: "^(\\w*)\\:\\s(.*)$"
pattern_maps:
- Type
- Subject
notes:
keywords:
- BREAKING CHANGE
13 changes: 12 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# Licensed under the MIT License (the "License");
# you may not use this file except in compliance with the License.


builds:
- main: ./cmd/exporter
env:
Expand All @@ -16,6 +15,18 @@ builds:
- amd64
- arm
- arm64
- main: ./cmd/syncer
env:
- CGO_ENABLED=0
- GO111MODULE=on
goos:
- linux
- darwin
goarch:
- 386
- amd64
- arm
- arm64
before:
hooks:
- go mod download
Expand Down
110 changes: 110 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
<a name="unreleased"></a>
## [Unreleased]


<a name="v1.0.0"></a>
## [v1.0.0] - 2023-07-14
### Feat
- add openim and kubecub actions labels sync
- add openim and kubecub actions labels sync
- add pr


<a name="v2.0.0"></a>
## [v2.0.0] - 2023-06-29
### Feat
- git hub token
- git hub token
- git hub token
- test github labels
- add tools
- add tools
- git hook
- git hook
- git hook

### Pull Requests
- Merge pull request [#63](https://github.com/kubecub/github-label-syncer/issues/63) from kubecub/feat/test


<a name="v1.4.0"></a>
## [v1.4.0] - 2023-06-25
### Feat
- add labels
- add labels
- about sync


<a name="v1.3.0"></a>
## [v1.3.0] - 2023-06-25
### Feat
- more feature
- branch save
- labels sync
- syncer docker file
- test labels
- test labels
- test labels
- test labels
- test labels
- test labels
- test labels
- test labels
- test labels
- test labels

### Style
- catalog design


<a name="v1.2.0"></a>
## [v1.2.0] - 2023-06-20
### Feat
- commit the basic code
- commit the basic code


<a name="v1.1.0"></a>
## [v1.1.0] - 2023-06-20

<a name="list"></a>
## [list] - 2023-06-20
### Chore
- delete issue template

### Feat
- complete base exporter
- add labels standard
- synchronous tag
- partial optimization
- make
- makefile optimization
- Automatic PR title AI fix
- spell check
- optimize makefile
- add copy addlicense
- log feature

### Fix
- sync fix

### Test
- delele env
- text opencommit


<a name="v1.0.2"></a>
## [v1.0.2] - 2023-05-22

<a name="v1.0.1"></a>
## v1.0.1 - 2023-05-22

[Unreleased]: https://github.com/kubecub/github-label-syncer/compare/v1.0.0...HEAD
[v1.0.0]: https://github.com/kubecub/github-label-syncer/compare/v2.0.0...v1.0.0
[v2.0.0]: https://github.com/kubecub/github-label-syncer/compare/v1.4.0...v2.0.0
[v1.4.0]: https://github.com/kubecub/github-label-syncer/compare/v1.3.0...v1.4.0
[v1.3.0]: https://github.com/kubecub/github-label-syncer/compare/v1.2.0...v1.3.0
[v1.2.0]: https://github.com/kubecub/github-label-syncer/compare/v1.1.0...v1.2.0
[v1.1.0]: https://github.com/kubecub/github-label-syncer/compare/list...v1.1.0
[list]: https://github.com/kubecub/github-label-syncer/compare/v1.0.2...list
[v1.0.2]: https://github.com/kubecub/github-label-syncer/compare/v1.0.1...v1.0.2

0 comments on commit 2f061b5

Please sign in to comment.