timescaledb/scripts/merge_changelogs.sh
Jan Nidzwetzki 9fd6d8b817 Add missing new lines to changelog script
Our changelog contains empty lines between the version sections. These
empty lines were missing in the script output so far.
2023-11-28 21:02:03 +01:00

15 lines
541 B
Bash
Executable File

#!/bin/bash
# skip the template file
echo "**Features**"
grep -i '^Implements:' .unreleased/* | grep -v '.unreleased/template.rfc822' | cut -d: -f3- | sort | uniq | sed -e 's/^[[:space:]]*//' -e 's/^/* /'
echo
echo "**Bugfixes**"
grep -i '^Fixes:' .unreleased/* | grep -v '.unreleased/template.rfc822' | cut -d: -f3- | sort | uniq | sed -e 's/^[[:space:]]*//' -e 's/^/* /'
echo
echo "**Thanks**"
grep -i '^Thanks:' .unreleased/* | grep -v '.unreleased/template.rfc822' | cut -d: -f3- | sort | sed -e 's/^[[:space:]]*//' -e 's/^/* /'
echo