summaryrefslogtreecommitdiffstats
path: root/create-changelog.sh
diff options
context:
space:
mode:
Diffstat (limited to 'create-changelog.sh')
-rwxr-xr-xcreate-changelog.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/create-changelog.sh b/create-changelog.sh
new file mode 100755
index 00000000..7d1491c5
--- /dev/null
+++ b/create-changelog.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+set -e
+
+tmp=$(mktemp)
+merged=$(mktemp)
+
+git checkout CHANGES.md
+./collect-changes.sh > "$tmp"
+sed -i -e "s/ *$//" "$tmp"
+cat "$tmp" CHANGES.md > "$merged"
+mv "$merged" CHANGES.md
+rm "$tmp"