mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-16 17:45:39 -06:00
Add a make target to create a changelog in csv format
This commit is contained in:
committed by
Ralf Haferkamp
parent
cd912a56c1
commit
6f7f3d0706
5
Makefile
5
Makefile
@@ -290,6 +290,11 @@ endif
|
||||
mkdir -p ocis/dist
|
||||
$(CALENS) --version $(CHANGELOG_VERSION) -o ocis/dist/CHANGELOG.md
|
||||
|
||||
.PHONY: changelog-csv
|
||||
changelog-csv: $(CALENS)
|
||||
mkdir -p ocis/dist
|
||||
$(CALENS) -t changelog/changelog-csv.tmpl -o ocis/dist/changelog.csv
|
||||
|
||||
.PHONY: govulncheck
|
||||
govulncheck: $(GOVULNCHECK)
|
||||
$(GOVULNCHECK) ./...
|
||||
|
||||
8
changelog/changelog-csv.tmpl
Normal file
8
changelog/changelog-csv.tmpl
Normal file
@@ -0,0 +1,8 @@
|
||||
## Release, Date, Type, Title, Primary ID, Primary URL
|
||||
{{ range . -}}
|
||||
{{ $v := .Version -}}
|
||||
{{ $d := .Date -}}
|
||||
{{ range $entry := .Entries -}}
|
||||
{{ $v }},{{ $d }},{{ .Type }},'{{ .Title }}',{{ .PrimaryID }},{{ .PrimaryURL }}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
Reference in New Issue
Block a user