diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2023-11-27 13:48:43 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2023-11-27 13:48:43 +0000 |
| commit | 83acbf953a4f50a017e3e857ecbd0b008f0b3be0 (patch) | |
| tree | 127a0bb3482fce953c2e53eddb99f7014df0ae0c /tools | |
| parent | b6accf9e7f7ef5f23cbf8bac57e54cefa0db4620 (diff) | |
| parent | 6c78b59c99e91c4d7b5002725863706d97a7bc29 (diff) | |
Merge branch 'release/2.6.x' into 'master'
merge 2.6.x to master since 2.6.1 release
See merge request pleroma/pleroma-fe!1874
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/collect-changelog | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tools/collect-changelog b/tools/collect-changelog new file mode 100755 index 00000000..1e12d564 --- /dev/null +++ b/tools/collect-changelog @@ -0,0 +1,27 @@ +#!/bin/sh + +collectType() { + local suffix="$1" + local header="$2" + local printed=0 + for file in changelog.d/*."$suffix"; do + if [ '!' -f "$file" ]; then + continue + fi + if [ "$printed" = 0 ]; then + echo + echo "### $header" + printed=1 + fi + # Normalize any trailing newlines/spaces, etc. + echo "- $(cat "$file")" + done +} + +collectType security Security +collectType change Changed +collectType add Added +collectType fix Fixed +collectType remove Removed + +rm changelog.d/* |
