From 94324c502ea9f14299cb361dbd699245b2d6c30a Mon Sep 17 00:00:00 2001 From: apio Date: Thu, 26 Jan 2023 22:23:38 +0100 Subject: [PATCH] chore: Add a small shell script to generate release changelogs --- changelog.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 changelog.sh diff --git a/changelog.sh b/changelog.sh new file mode 100755 index 0000000..831c902 --- /dev/null +++ b/changelog.sh @@ -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' \ No newline at end of file