summaryrefslogtreecommitdiff
path: root/tools/create-changelog.sh
blob: 9c1fb5a9466d383c3686429fa519fa88922489fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh -u
# tools/create-changelog.sh -- for inclusion in source tarballs
# Copyright (C) 2019  Olaf Meeuwissen
#
# License: GPL-3.0+

git log --date=iso8601 --no-decorate --topo-order --abbrev=12 \
        $(git describe --tags --abbrev=0)..HEAD \
    | sed 's/[[:space:]]*$//' \
    > ChangeLog

cat << EOF >> ChangeLog

----------------------------------------------------------------------
Older entries are located in the ChangeLogs/ directory, which contains
a separate file for each release.  (Please note: 1.0.26 and 1.1.0 were
skipped as release numbers.)
EOF