Compare commits
23 Commits
Author | SHA1 | Date | |
---|---|---|---|
c2829e51d2
|
|||
697bed098c | |||
3bdc1064e4 | |||
674980cd67 | |||
ab724c7a4f | |||
baf1dc59e3 | |||
0125f02699 | |||
a1328dc32e | |||
733f16c90c | |||
034b3208c6 | |||
623ef5dc12 | |||
4fc79db1c4 | |||
08121dec64
|
|||
f1e9fa1a0a
|
|||
9df008366e
|
|||
4333f15808
|
|||
a084d9ef5b
|
|||
5f4e6d89ce
|
|||
2430ead654
|
|||
65ec77be9c
|
|||
e3cda73dc6
|
|||
5b8771a87d
|
|||
87f6046cfd
|
@ -1,38 +1,42 @@
|
|||||||
{{ range .Versions }}
|
{{- range .Versions }}
|
||||||
<a name="{{ .Tag.Name }}"></a>
|
<a name="{{ .Tag.Name }}"></a>
|
||||||
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} ({{ datetime "2006-01-02" .Tag.Date }})
|
## BlueMastoFeed {{ 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 -}}
|
{{- if .CommitGroups }}
|
||||||
### {{ .Title }}
|
### Changes
|
||||||
|
{{ range .CommitGroups }}
|
||||||
{{ range .Commits -}}
|
#### {{ .Title }}
|
||||||
* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
{{ range .Commits }}
|
||||||
|
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
||||||
|
[`{{ slice .Hash 0 7 }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }}) by @{{ .Author.Name }}
|
||||||
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end -}}
|
|
||||||
|
|
||||||
{{- if .RevertCommits -}}
|
|
||||||
### Reverts
|
|
||||||
|
|
||||||
{{ range .RevertCommits -}}
|
|
||||||
* {{ .Revert.Header }}
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end -}}
|
|
||||||
|
|
||||||
{{- if .MergeCommits -}}
|
{{- if .MergeCommits }}
|
||||||
### Pull Requests
|
### Pull Requests
|
||||||
|
{{ range .MergeCommits }}
|
||||||
{{ range .MergeCommits -}}
|
- {{ .Header }}
|
||||||
* {{ .Header }}
|
[`{{ slice .Hash 0 7 }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }}) by @{{ .Author.Name }}
|
||||||
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end -}}
|
|
||||||
|
|
||||||
{{- if .NoteGroups -}}
|
{{- if .RevertCommits }}
|
||||||
{{ range .NoteGroups -}}
|
### Reverts
|
||||||
### {{ .Title }}
|
{{ range .RevertCommits }}
|
||||||
|
- {{ .Revert.Header }}
|
||||||
|
[`{{ slice .Hash 0 7 }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash }}) by @{{ .Author.Name }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{- if .NoteGroups }}
|
||||||
|
### Notes
|
||||||
|
{{ range .NoteGroups }}
|
||||||
|
#### {{ .Title }}
|
||||||
{{ range .Notes }}
|
{{ range .Notes }}
|
||||||
{{ .Body }}
|
- {{ .Body }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end -}}
|
|
||||||
{{ end -}}
|
|
||||||
{{ end -}}
|
|
@ -1,28 +1,37 @@
|
|||||||
style: github
|
style: github
|
||||||
template: CHANGELOG.tpl.md
|
template: CHANGELOG.tpl.md
|
||||||
|
|
||||||
info:
|
info:
|
||||||
title: CHANGELOG
|
title: CHANGELOG
|
||||||
repository_url: https://dev.ksite.de/ralf.kirchner/demo
|
repository_url: https://dev.ksite.de/ralf.kirchner/demo
|
||||||
|
|
||||||
options:
|
options:
|
||||||
commits:
|
commits:
|
||||||
# filters:
|
sort_by: "date" # Optional, default is OK too
|
||||||
# Type:
|
exclude_merge_commits: false
|
||||||
# - feat
|
|
||||||
# - fix
|
|
||||||
# - perf
|
|
||||||
# - refactor
|
|
||||||
commit_groups:
|
commit_groups:
|
||||||
# title_maps:
|
group_by: "Type"
|
||||||
# feat: Features
|
title_maps:
|
||||||
# fix: Bug Fixes
|
feat: Features
|
||||||
# perf: Performance Improvements
|
fix: Bug Fixes
|
||||||
# refactor: Code Refactoring
|
perf: Performance Improvements
|
||||||
|
refactor: Code Refactoring
|
||||||
|
docs: Documentation
|
||||||
|
chore: Maintenance
|
||||||
|
test: Tests
|
||||||
|
build: Build System
|
||||||
|
ci: Continuous Integration
|
||||||
|
style: Code Style
|
||||||
|
|
||||||
header:
|
header:
|
||||||
pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$"
|
pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$"
|
||||||
pattern_maps:
|
pattern_maps:
|
||||||
- Type
|
- Type
|
||||||
- Scope
|
- Scope
|
||||||
- Subject
|
- Subject
|
||||||
|
|
||||||
notes:
|
notes:
|
||||||
keywords:
|
keywords:
|
||||||
- BREAKING CHANGE
|
- BREAKING CHANGE
|
||||||
|
- DEPRECATED
|
||||||
|
@ -24,14 +24,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Create Release on Gitea
|
- name: Create Release on Gitea
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
TAG=$(git describe --tags)
|
TAG=$(git describe --tags)
|
||||||
REPO=${GITEA_REPOSITORY#*/}
|
REPO=${GITEA_REPOSITORY#*/}
|
||||||
OWNER=${GITEA_REPOSITORY%/*}
|
OWNER=${GITEA_REPOSITORY%/*}
|
||||||
BODY=$(cat RELEASE_NOTES.md | jq -Rs .)
|
BODY=$(cat RELEASE_NOTES.md | jq -Rs .)
|
||||||
|
|
||||||
curl -X POST "https://gitea.example.com/api/v1/repos/$OWNER/$REPO/releases" \
|
curl -X POST "https://dev.ksite.de/api/v1/repos/ralf.kirchner/demo/releases" \
|
||||||
-H "Authorization: token $GITEA_TOKEN" \
|
-H "Authorization: token $GITEA_TOKEN" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d "{
|
-d "{
|
||||||
|
8
README.md
Normal file
8
README.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# Demo Project
|
||||||
|
|
||||||
|
## Test
|
||||||
|
Das ist ein Test
|
||||||
|
Test 01
|
||||||
|
|
||||||
|
test 03
|
||||||
|
|
Reference in New Issue
Block a user