mirror of
https://github.com/thegeeklab/wait-for.git
synced 2024-11-21 20:00:39 +00:00
ci: auto-generate changelog (#14)
This commit is contained in:
parent
6eec921fe8
commit
2e2f839303
23
.chglog/CHANGELOG.tpl.md
Executable file
23
.chglog/CHANGELOG.tpl.md
Executable file
@ -0,0 +1,23 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
{{ range .Versions -}}
|
||||||
|
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .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 .NoteGroups -}}
|
||||||
|
{{ range .NoteGroups -}}
|
||||||
|
### {{ .Title }}
|
||||||
|
|
||||||
|
{{ range .Notes }}
|
||||||
|
{{ .Body }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end -}}
|
||||||
|
{{ end -}}
|
||||||
|
{{ end -}}
|
25
.chglog/config.yml
Executable file
25
.chglog/config.yml
Executable file
@ -0,0 +1,25 @@
|
|||||||
|
style: github
|
||||||
|
template: CHANGELOG.tpl.md
|
||||||
|
info:
|
||||||
|
title: CHANGELOG
|
||||||
|
repository_url: https://github.com/thegeeklab/wait-for
|
||||||
|
options:
|
||||||
|
commit_groups:
|
||||||
|
title_maps:
|
||||||
|
feat: Features
|
||||||
|
fix: Bug Fixes
|
||||||
|
perf: Performance Improvements
|
||||||
|
refactor: Code Refactoring
|
||||||
|
chore: Others
|
||||||
|
test: Testing
|
||||||
|
ci: CI Pipeline
|
||||||
|
docs: Documentation
|
||||||
|
header:
|
||||||
|
pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$"
|
||||||
|
pattern_maps:
|
||||||
|
- Type
|
||||||
|
- Scope
|
||||||
|
- Subject
|
||||||
|
notes:
|
||||||
|
keywords:
|
||||||
|
- BREAKING CHANGE
|
@ -41,6 +41,15 @@ local PipelineBuildPackage = {
|
|||||||
'sha256sum wait-for > sha256sum.txt',
|
'sha256sum wait-for > sha256sum.txt',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'changelog',
|
||||||
|
image: 'thegeeklab/git-chglog',
|
||||||
|
commands: [
|
||||||
|
'git fetch -tq',
|
||||||
|
'git-chglog --no-color --no-emoji ${DRONE_TAG:---next-tag unreleased unreleased}',
|
||||||
|
'git-chglog --no-color --no-emoji -o CHANGELOG.md ${DRONE_TAG:---next-tag unreleased unreleased}',
|
||||||
|
],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'publish-github',
|
name: 'publish-github',
|
||||||
image: 'plugins/github-release',
|
image: 'plugins/github-release',
|
||||||
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -3,3 +3,6 @@
|
|||||||
|
|
||||||
# Node
|
# Node
|
||||||
node_modules
|
node_modules
|
||||||
|
|
||||||
|
# Misc
|
||||||
|
CHANGELOG.md
|
||||||
|
18
CHANGELOG.md
18
CHANGELOG.md
@ -1,18 +0,0 @@
|
|||||||
# Changelog
|
|
||||||
|
|
||||||
## v0.1.0 (2021-01-04)
|
|
||||||
|
|
||||||
### Docs
|
|
||||||
|
|
||||||
- add contributing information
|
|
||||||
|
|
||||||
### Build
|
|
||||||
|
|
||||||
- add github releases
|
|
||||||
|
|
||||||
### Others
|
|
||||||
|
|
||||||
- **docker**: switch to org.opencontainers image labels
|
|
||||||
- **docker**: use standalone dockerfiles for multiarch
|
|
||||||
- **deps**: pin docker digests ([#2](https://github.com/thegeeklab/wait-for/issues/2))
|
|
||||||
- use renovate preset config
|
|
Loading…
Reference in New Issue
Block a user