Compare commits

..

No commits in common. "v0.27.1-2" and "v0.27.1-1" have entirely different histories.

4 changed files with 7 additions and 19 deletions

View File

@ -6,14 +6,10 @@
{{ 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 -}}

View File

@ -57,22 +57,15 @@ steps:
depends_on: depends_on:
- dryrun - dryrun
- name: changelog-generate - name: changelog
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:
@ -89,7 +82,7 @@ steps:
- refs/heads/main - refs/heads/main
- refs/tags/** - refs/tags/**
depends_on: depends_on:
- changelog-format - changelog
- name: publish-quay - name: publish-quay
image: thegeeklab/drone-docker-buildx:20 image: thegeeklab/drone-docker-buildx:20
@ -108,7 +101,7 @@ steps:
- refs/heads/main - refs/heads/main
- refs/tags/** - refs/tags/**
depends_on: depends_on:
- changelog-format - changelog
- name: publish-gitea - name: publish-gitea
image: plugins/gitea-release image: plugins/gitea-release
@ -201,6 +194,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 281a3574a24bdd5504af5ab5574ca4852c7a5ce7c90de6b307922e6806cb9357 hmac: 1dc2d3a35a7202ce60e22c88d41a03be79f0f8f85ecff965edefa68ed9801757
... ...

View File

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

View File

@ -1,4 +1,4 @@
FROM node:lts-alpine3.13@sha256:efadbdd1ef5f84a93729185767b132606f211a98921d2f30464550a6e5f62437 FROM node:lts-alpine3.12@sha256:aed8ac10548375da1c15e817b6d5d03e67d84cac5dfef922a76a7675d5c9642a
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>"