Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
Renovator Bot | 61e37765ab | |
Renovator Bot | 7e2a4b1a97 | |
Robert Kaussow | a989370d14 | |
Robert Kaussow | e6b0b52058 |
|
@ -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 -}}
|
||||
|
|
17
.drone.yml
17
.drone.yml
|
@ -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
|
||||
|
||||
...
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
.drone.yml
|
||||
*.tpl.md
|
||||
|
|
|
@ -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>"
|
||||
|
|
Reference in New Issue