tools: Determine starting commit when generating a new ChangeLog file

This was still hard-coded to 1.0.28. Detect this automatically instead
by finding the most recent release tag.
251-scanner-canon-mf110-910-series-is-not-supported
David Ward 2022-05-14 17:35:43 -04:00
rodzic 7467a9da22
commit 7ca518027b
1 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -5,13 +5,14 @@
# License: GPL-3.0+ # License: GPL-3.0+
git log --date=iso8601 --no-decorate --topo-order --abbrev=12 \ git log --date=iso8601 --no-decorate --topo-order --abbrev=12 \
1.0.28..HEAD \ $(git describe --tags --abbrev=0)..HEAD \
| sed 's/[[:space:]]*$//' \ | sed 's/[[:space:]]*$//' \
> ChangeLog > ChangeLog
cat << EOF >> ChangeLog cat << EOF >> ChangeLog
---------------------------------------------------------------------- ----------------------------------------------------------------------
Older ChangeLog entries can be found in the ChangeLogs/ directory on a Older entries are located in the ChangeLogs/ directory, which contains
file per release basis. Please note that version 1.0.26 was skipped. a separate file for each release. (Please note: 1.0.26 and 1.1.0 were
skipped as release numbers.)
EOF EOF