chore: Add a small shell script to generate release changelogs

This commit is contained in:
apio 2023-01-26 22:23:38 +01:00
parent ce0db53a90
commit 94324c502e
Signed by: apio
GPG Key ID: B8A7D06E42258954

10
changelog.sh Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/sh
# Small shell script to automatically generate release changelogs.
echo "New features:"
git log --pretty=format:%s $1..HEAD | grep "feat:" | sed 's/feat\:/*/g'
echo ""
echo "Fixes:"
git log --pretty=format:%s $1..HEAD | grep "fix:" | sed 's/fix\:/*/g'