summaryrefslogtreecommitdiffstats
path: root/create-changelog.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:43:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 19:43:11 +0000
commitfc22b3d6507c6745911b9dfcc68f1e665ae13dbc (patch)
treece1e3bce06471410239a6f41282e328770aa404a /create-changelog.sh
parentInitial commit. (diff)
downloadmanpages-l10n-fc22b3d6507c6745911b9dfcc68f1e665ae13dbc.tar.xz
manpages-l10n-fc22b3d6507c6745911b9dfcc68f1e665ae13dbc.zip
Adding upstream version 4.22.0.upstream/4.22.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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"