mirror of
https://github.com/thegeeklab/git-sv.git
synced 2024-11-13 21:30:40 +00:00
fix docs pipeline
This commit is contained in:
parent
0d2a36112b
commit
4d8619e6eb
@ -17,17 +17,11 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- $(find dist/ -executable -type f -iname ${CI_REPO_NAME}-linux-amd64) --help
|
- $(find dist/ -executable -type f -iname ${CI_REPO_NAME}-linux-amd64) --help
|
||||||
|
|
||||||
# changelog-generate:
|
changelog-generate:
|
||||||
# image: quay.io/thegeeklab/git-chglog
|
image: quay.io/thegeeklab/git-sv
|
||||||
# commands:
|
commands:
|
||||||
# - git fetch -tq
|
- git fetch --depth=2147483647
|
||||||
# - git-chglog --no-color --no-emoji -o CHANGELOG.md ${CI_COMMIT_TAG:---next-tag unreleased unreleased}
|
- git sv release-notes
|
||||||
|
|
||||||
# changelog-format:
|
|
||||||
# image: quay.io/thegeeklab/alpine-tools
|
|
||||||
# commands:
|
|
||||||
# - prettier CHANGELOG.md
|
|
||||||
# - prettier -w CHANGELOG.md
|
|
||||||
|
|
||||||
publish-github:
|
publish-github:
|
||||||
image: docker.io/plugins/github-release
|
image: docker.io/plugins/github-release
|
||||||
|
@ -19,23 +19,6 @@ steps:
|
|||||||
FORCE_COLOR: "true"
|
FORCE_COLOR: "true"
|
||||||
NPM_CONFIG_LOGLEVEL: "error"
|
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:
|
pushrm-dockerhub:
|
||||||
image: docker.io/chko/docker-pushrm:1
|
image: docker.io/chko/docker-pushrm:1
|
||||||
secrets:
|
secrets:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# Changelog
|
# 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 }}
|
{{- range $section := .Sections }}
|
||||||
{{- if (eq $section.SectionType "commits") }}
|
{{- if (eq $section.SectionType "commits") }}
|
||||||
{{- template "rn-md-section-commits.tpl" $section }}
|
{{- 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 }}
|
{{- template "rn-md-section-breaking-changes.tpl" $section }}
|
||||||
{{- end}}
|
{{- end }}
|
||||||
{{- end}}
|
{{- end -}}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{{- if ne .Name ""}}
|
{{- if ne .Name "" }}
|
||||||
|
|
||||||
### {{.Name}}
|
### {{ .Name }}
|
||||||
{{range $k,$v := .Messages}}
|
{{ range $k,$v := .Messages }}
|
||||||
- {{$v}}
|
- {{ $v }}
|
||||||
{{- end}}
|
{{- end }}
|
||||||
{{- end}}
|
{{- end -}}
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
{{- if .}}{{- if ne .SectionName ""}}
|
{{- if . }}{{- if ne .SectionName "" }}
|
||||||
|
|
||||||
### {{.SectionName}}
|
### {{ .SectionName }}
|
||||||
{{range $k,$v := .Items}}
|
{{ 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}}
|
- {{ 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}}{{- end}}
|
{{- end }}
|
||||||
|
{{- end -}}
|
||||||
|
Loading…
Reference in New Issue
Block a user