diff options
author | Manatsawin Hanmongkolchai <[email protected]> | 2022-11-17 00:20:36 +0700 |
---|---|---|
committer | raveit65 <[email protected]> | 2023-04-20 18:07:49 +0200 |
commit | aa33bee3793a6979634b1b4bbd29b94a0154bf59 (patch) | |
tree | 3668902a77894adfb0d7fabb9c5d1f40606159be | |
parent | 5cfe151b2fe32d258cc26318a1d46928f5228738 (diff) | |
download | eom-aa33bee3793a6979634b1b4bbd29b94a0154bf59.tar.bz2 eom-aa33bee3793a6979634b1b4bbd29b94a0154bf59.tar.xz |
Generate changelog on dist
-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 |