mirror of
https://github.com/thegeeklab/git-sv.git
synced 2024-11-09 16:00:40 +00:00
fix docs pipeline
This commit is contained in:
parent
0d2a36112b
commit
4d8619e6eb
@ -17,17 +17,11 @@ steps:
|
||||
commands:
|
||||
- $(find dist/ -executable -type f -iname ${CI_REPO_NAME}-linux-amd64) --help
|
||||
|
||||
# changelog-generate:
|
||||
# image: quay.io/thegeeklab/git-chglog
|
||||
# commands:
|
||||
# - git fetch -tq
|
||||
# - git-chglog --no-color --no-emoji -o CHANGELOG.md ${CI_COMMIT_TAG:---next-tag unreleased unreleased}
|
||||
|
||||
# changelog-format:
|
||||
# image: quay.io/thegeeklab/alpine-tools
|
||||
# commands:
|
||||
# - prettier CHANGELOG.md
|
||||
# - prettier -w CHANGELOG.md
|
||||
changelog-generate:
|
||||
image: quay.io/thegeeklab/git-sv
|
||||
commands:
|
||||
- git fetch --depth=2147483647
|
||||
- git sv release-notes
|
||||
|
||||
publish-github:
|
||||
image: docker.io/plugins/github-release
|
||||
|
@ -19,23 +19,6 @@ steps:
|
||||
FORCE_COLOR: "true"
|
||||
NPM_CONFIG_LOGLEVEL: "error"
|
||||
|
||||
publish:
|
||||
image: quay.io/thegeeklab/git-sv
|
||||
settings:
|
||||
action:
|
||||
- pages
|
||||
author_email: bot@thegeeklab.de
|
||||
author_name: thegeeklab-bot
|
||||
branch: docs
|
||||
message: "[skip ci] auto-update documentation"
|
||||
netrc_password:
|
||||
from_secret: github_token
|
||||
pages_directory: _docs/
|
||||
when:
|
||||
- event: [push, manual]
|
||||
branch:
|
||||
- ${CI_REPO_DEFAULT_BRANCH}
|
||||
|
||||
pushrm-dockerhub:
|
||||
image: docker.io/chko/docker-pushrm:1
|
||||
secrets:
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Changelog
|
||||
{{- range .}}
|
||||
{{- range . }}
|
||||
|
||||
{{template "releasenotes-md.tpl" .}}
|
||||
{{ template "releasenotes-md.tpl" . }}
|
||||
---
|
||||
{{- end}}
|
||||
{{- end -}}
|
||||
|
@ -1,8 +1,8 @@
|
||||
## {{if .Release}}{{.Release}}{{end}}{{if and (not .Date.IsZero) .Release}} ({{end}}{{timefmt .Date "2006-01-02"}}{{if and (not .Date.IsZero) .Release}}){{end}}
|
||||
## {{ if .Release }}{{ .Release }}{{ end }}{{ if and (not .Date.IsZero) .Release }} ({{ end }}{{ timefmt .Date "2006-01-02" }}{{ if and (not .Date.IsZero) .Release }}){{ end }}
|
||||
{{- range $section := .Sections }}
|
||||
{{- if (eq $section.SectionType "commits") }}
|
||||
{{- template "rn-md-section-commits.tpl" $section }}
|
||||
{{- else if (eq $section.SectionType "breaking-changes")}}
|
||||
{{- else if (eq $section.SectionType "breaking-changes") }}
|
||||
{{- template "rn-md-section-breaking-changes.tpl" $section }}
|
||||
{{- end}}
|
||||
{{- end}}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{{- if ne .Name ""}}
|
||||
{{- if ne .Name "" }}
|
||||
|
||||
### {{.Name}}
|
||||
{{range $k,$v := .Messages}}
|
||||
- {{$v}}
|
||||
{{- end}}
|
||||
{{- end}}
|
||||
### {{ .Name }}
|
||||
{{ range $k,$v := .Messages }}
|
||||
- {{ $v }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
@ -1,7 +1,8 @@
|
||||
{{- if .}}{{- if ne .SectionName ""}}
|
||||
{{- if . }}{{- if ne .SectionName "" }}
|
||||
|
||||
### {{.SectionName}}
|
||||
{{range $k,$v := .Items}}
|
||||
- {{if $v.Message.Scope}}**{{$v.Message.Scope}}:** {{end}}{{$v.Message.Description}} ({{$v.Hash}}){{if $v.Message.Metadata.issue}} ({{$v.Message.Metadata.issue}}){{end}}
|
||||
{{- end}}
|
||||
{{- end}}{{- end}}
|
||||
### {{ .SectionName }}
|
||||
{{ range $k,$v := .Items }}
|
||||
- {{ if $v.Message.Scope }}**{{ $v.Message.Scope }}:** {{ end }}{{ $v.Message.Description }} ({{ $v.Hash }}){{ if $v.Message.Metadata.issue }} ({{ $v.Message.Metadata.issue }}){{ end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
Loading…
Reference in New Issue
Block a user