Compare commits

...

4 Commits

Author SHA1 Message Date
Renovator Bot 61e37765ab chore(deps): update thegeeklab/alpine:latest docker digest
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
2021-05-10 22:01:04 +00:00
Renovator Bot 7e2a4b1a97 chore(deps): update thegeeklab/alpine:latest docker digest to 525dc4a
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
2021-05-09 21:01:12 +00:00
Robert Kaussow a989370d14
fix pipeline deps
continuous-integration/drone/push Build is passing Details
2021-05-09 22:57:23 +02:00
Robert Kaussow e6b0b52058
chore: improve generated changelog
continuous-integration/drone/push Build encountered an error Details
2021-05-09 22:42:33 +02:00
4 changed files with 19 additions and 7 deletions

View File

@ -6,10 +6,14 @@
{{ range .CommitGroups -}}
### {{ .Title }}
{{ $subjects := list }}
{{ range .Commits -}}
{{ if not (has .Subject $subjects) -}}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
{{ $subjects = append $subjects .Subject -}}
{{ end }}
{{ end -}}
{{- end }}
{{- end -}}
{{- if .NoteGroups -}}
{{ range .NoteGroups -}}

View File

@ -55,15 +55,22 @@ steps:
depends_on:
- dryrun
- name: changelog
- name: changelog-generate
image: thegeeklab/git-chglog
commands:
- 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}
depends_on:
- tags
- name: changelog-format
image: thegeeklab/alpine-tools
commands:
- prettier CHANGELOG.md
- prettier -w CHANGELOG.md
depends_on:
- changelog-generate
- name: publish-dockerhub
image: thegeeklab/drone-docker-buildx:20
settings:
@ -78,7 +85,7 @@ steps:
- refs/heads/main
- refs/tags/**
depends_on:
- changelog
- changelog-format
- name: publish-quay
image: thegeeklab/drone-docker-buildx:20
@ -95,7 +102,7 @@ steps:
- refs/heads/main
- refs/tags/**
depends_on:
- changelog
- changelog-format
- name: publish-gitea
image: plugins/gitea-release
@ -188,6 +195,6 @@ depends_on:
---
kind: signature
hmac: ce2b28c322632432c5e4f9cbe94196707d2cea036b05186a85453cb728cbbcb0
hmac: fe244fd5d5533b09ae29c2e9ef154c7d8ebdc4716bae5defac81118ca1214d50
...

View File

@ -1 +1,2 @@
.drone.yml
*.tpl.md

View File

@ -1,4 +1,4 @@
FROM thegeeklab/alpine:latest@sha256:1d985a44c907f1dafaeaeb40f52b569c8f52877491fe12f9262084d1875b91d4
FROM thegeeklab/alpine:latest@sha256:3de659c1a479d9d80e9c3924227981450af3a068087545a47360cfc2e70a91cc
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"