diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md new file mode 100755 index 0000000..95a8415 --- /dev/null +++ b/.chglog/CHANGELOG.tpl.md @@ -0,0 +1,23 @@ +# Changelog + +{{ range .Versions -}} +## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} ({{ datetime "2006-01-02" .Tag.Date }}) + +{{ range .CommitGroups -}} +### {{ .Title }} + +{{ range .Commits -}} +- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} +{{ end }} +{{ end -}} + +{{- if .NoteGroups -}} +{{ range .NoteGroups -}} +### {{ .Title }} + +{{ range .Notes }} +{{ .Body }} +{{ end }} +{{ end -}} +{{ end -}} +{{ end -}} diff --git a/.chglog/config.yml b/.chglog/config.yml new file mode 100755 index 0000000..86bb1f4 --- /dev/null +++ b/.chglog/config.yml @@ -0,0 +1,25 @@ +style: github +template: CHANGELOG.tpl.md +info: + title: CHANGELOG + repository_url: https://gitea.rknet.org/docker/kanboard +options: + commit_groups: + title_maps: + feat: Features + fix: Bug Fixes + perf: Performance Improvements + refactor: Code Refactoring + chore: Others + test: Testing + ci: CI Pipeline + docs: Documentation + header: + pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$" + pattern_maps: + - Type + - Scope + - Subject + notes: + keywords: + - BREAKING CHANGE diff --git a/.drone.yml b/.drone.yml index 0204d16..76328cf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -57,6 +57,15 @@ steps: depends_on: - dryrun +- name: changelog + 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: publish-dockerhub image: thegeeklab/drone-docker-buildx:20 settings: @@ -73,7 +82,7 @@ steps: - refs/heads/main - refs/tags/** depends_on: - - tags + - changelog - name: publish-quay image: thegeeklab/drone-docker-buildx:20 @@ -92,7 +101,7 @@ steps: - refs/heads/main - refs/tags/** depends_on: - - tags + - changelog - name: publish-gitea image: plugins/gitea-release @@ -185,6 +194,6 @@ depends_on: --- kind: signature -hmac: b8d9a506b8a79cc2d46a7ed2c801ea7611fdf4a45690d9f327d19f81303dd3ee +hmac: 2bc6998878baf263dbda96a4c7946551fffc788c2738660b4ebee62887f375d0 ... diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a43074..746afd6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,8 @@ # Changelog -## v1.2.18-1 (2020-12-31) +## v1.2.18-2 (2021-01-29) ### Others -- **deps**: update dependency kanboard/kanboard to v1.2.18 ([#7](https://gitea.rknet.org/docker/kanboard/issues/7)) -- **deps**: update thegeeklab/nginx:latest docker digest to 1cf8372 -- **deps**: pin docker digests -- replace master by main as default branch -- use renovate preset config +- **deps:** update thegeeklab/nginx:latest docker digest to 22cab88 +- remove gomplate debug output diff --git a/LICENSE b/LICENSE index bb3e998..8e54586 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 Robert Kaussow +Copyright (c) 2021 Robert Kaussow Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal