Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
Renovator Bot | 5ff8c1948a | |
Renovator Bot | 3e45badc8f | |
Robert Kaussow | 06955d341b | |
Robert Kaussow | f55964f609 | |
Robert Kaussow | 6a5e3142bf |
|
@ -6,10 +6,14 @@
|
||||||
{{ range .CommitGroups -}}
|
{{ range .CommitGroups -}}
|
||||||
### {{ .Title }}
|
### {{ .Title }}
|
||||||
|
|
||||||
|
{{ $subjects := list }}
|
||||||
{{ range .Commits -}}
|
{{ range .Commits -}}
|
||||||
|
{{ if not (has .Subject $subjects) -}}
|
||||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
||||||
|
{{ $subjects = append $subjects .Subject -}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end -}}
|
{{- end }}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
{{- if .NoteGroups -}}
|
{{- if .NoteGroups -}}
|
||||||
{{ range .NoteGroups -}}
|
{{ range .NoteGroups -}}
|
||||||
|
|
17
.drone.yml
17
.drone.yml
|
@ -57,15 +57,22 @@ steps:
|
||||||
depends_on:
|
depends_on:
|
||||||
- dryrun
|
- dryrun
|
||||||
|
|
||||||
- name: changelog
|
- name: changelog-generate
|
||||||
image: thegeeklab/git-chglog
|
image: thegeeklab/git-chglog
|
||||||
commands:
|
commands:
|
||||||
- git fetch -tq
|
- 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}
|
- git-chglog --no-color --no-emoji -o CHANGELOG.md ${DRONE_TAG:---next-tag unreleased unreleased}
|
||||||
depends_on:
|
depends_on:
|
||||||
- tags
|
- tags
|
||||||
|
|
||||||
|
- name: changelog-format
|
||||||
|
image: thegeeklab/alpine-tools
|
||||||
|
commands:
|
||||||
|
- prettier CHANGELOG.md
|
||||||
|
- prettier -w CHANGELOG.md
|
||||||
|
depends_on:
|
||||||
|
- changelog-generate
|
||||||
|
|
||||||
- name: publish-dockerhub
|
- name: publish-dockerhub
|
||||||
image: thegeeklab/drone-docker-buildx:20
|
image: thegeeklab/drone-docker-buildx:20
|
||||||
settings:
|
settings:
|
||||||
|
@ -82,7 +89,7 @@ steps:
|
||||||
- refs/heads/main
|
- refs/heads/main
|
||||||
- refs/tags/**
|
- refs/tags/**
|
||||||
depends_on:
|
depends_on:
|
||||||
- changelog
|
- changelog-format
|
||||||
|
|
||||||
- name: publish-quay
|
- name: publish-quay
|
||||||
image: thegeeklab/drone-docker-buildx:20
|
image: thegeeklab/drone-docker-buildx:20
|
||||||
|
@ -101,7 +108,7 @@ steps:
|
||||||
- refs/heads/main
|
- refs/heads/main
|
||||||
- refs/tags/**
|
- refs/tags/**
|
||||||
depends_on:
|
depends_on:
|
||||||
- changelog
|
- changelog-format
|
||||||
|
|
||||||
- name: publish-gitea
|
- name: publish-gitea
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
|
@ -194,6 +201,6 @@ depends_on:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: cc8922b7a2921199bd29022e42f41b2637f302e85072b78f57be5487142685c3
|
hmac: f0a79ff218867538b206db31be99e8dc07be3e50b1bb56e3e047a272816a33bf
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
.drone.yml
|
.drone.yml
|
||||||
|
*.tpl.md
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM node:lts-alpine3.12@sha256:6b76daf4d7da68a6d31250a4a389f25dec9a3adab715645881701e90a82a64e3
|
FROM node:lts-alpine3.13@sha256:7021600941a9caa072c592b6a89cec80e46cb341d934f1868220f5786f236f60
|
||||||
|
|
||||||
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
|
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
|
||||||
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
|
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
|
||||||
|
@ -13,7 +13,7 @@ ARG YQ_VERSION
|
||||||
# renovate: datasource=npm depName=@lhci/cli
|
# renovate: datasource=npm depName=@lhci/cli
|
||||||
ENV LHCI_VERSION="${BUILD_VERSION:-0.7.2}"
|
ENV LHCI_VERSION="${BUILD_VERSION:-0.7.2}"
|
||||||
# renovate: datasource=github-releases depName=mikefarah/yq
|
# renovate: datasource=github-releases depName=mikefarah/yq
|
||||||
ENV YQ_VERSION="${YQ_VERSION:-v4.7.1}"
|
ENV YQ_VERSION="${YQ_VERSION:-v4.8.0}"
|
||||||
|
|
||||||
ENV LHCI_BASE_DIR=/drone/src \
|
ENV LHCI_BASE_DIR=/drone/src \
|
||||||
FORCE_COLOR=true \
|
FORCE_COLOR=true \
|
||||||
|
|
Loading…
Reference in New Issue