diff options
-rw-r--r-- | meson.build | 2 | ||||
-rwxr-xr-x | update-changelog.sh | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 54b6db0..b5362fc 100644 --- a/meson.build +++ b/meson.build @@ -210,4 +210,4 @@ if get_option('thumbnailer') subdir('thumbnailer') endif -# TODO: Changelog +meson.add_dist_script('update-changelog.sh') diff --git a/update-changelog.sh b/update-changelog.sh new file mode 100755 index 0000000..4c0945d --- /dev/null +++ b/update-changelog.sh @@ -0,0 +1,5 @@ +#!/bin/bash +set -e +if [ -d "${MESON_SOURCE_ROOT}/.git" ]; then + GIT_DIR="${MESON_SOURCE_ROOT}/.git" git log --stat > $MESON_DIST_ROOT/ChangeLog +fi |