Include an up-to-date ChangeLog with every build

merge-requests/87/head
Olaf Meeuwissen 2019-06-29 15:57:04 +09:00
rodzic 8b2fa76497
commit b596f98879
5 zmienionych plików z 39 dodań i 6 usunięć

Wyświetl plik

@ -19,6 +19,7 @@ prepare:
script:
- find -path ./.git -prune -o -type f | xargs tools/style-check.sh
- ./autogen.sh
- ./tools/create-changelog.sh
- ./configure
- make dist
artifacts:

Wyświetl plik

@ -1,6 +1,4 @@
This file is automatically generated at release time using git commit
messages.
For the latest changes please refer to the output of `git log` or see:
https://gitlab.com/sane-project/backends/commits/master
This file is automatically replaced at build time from the git commit
messages and included in our source tarballs. When you see this text
you're using a `git checkout` and should use the `git log` command to
see what has changed.

Wyświetl plik

@ -1,3 +1,20 @@
commit 82cd8f245cf26879b3f94348d4069dcec8d49f21 (tag: RELEASE_1_0_27, tag: 1.0.27)
Author: m. allan noah <kitno455@gmail.com>
Date: 2017-05-22 11:16:40 -0400
SANE-backends release 1.0.27
Moved old changelogs to new directory, and excluded them from
release tarball.
Improved release docs.
Updated config.* files
Bumped version numbers.
Wrote release notes.
commit 16f3060061a17cbc54f3415a7e2abc1c35f3fcd2
Author: Rolf Bensch <roben-guest@alioth.debian.org>
Date: Sat May 20 14:13:19 2017 +0200

Wyświetl plik

@ -34,6 +34,7 @@ CLEANFILES = $(bin_SCRIPTS) $(dist_noinst_SCRIPTS)
EXTRA_DIST = check-po.awk libtool-get-dll-ext mustek600iin-off.c \
RenSaneDlls.cmd README xerox
EXTRA_DIST += style-check.sh
EXTRA_DIST += create-changelog.sh
sane_find_scanner_SOURCES = sane-find-scanner.c
if have_usblib

Wyświetl plik

@ -0,0 +1,16 @@
#!/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 --decorate=short 1.0.27..HEAD \
| sed 's/^[ \t]*$//' \
> ChangeLog
cat << EOF >> ChangeLog
----------------------------------------------------------------------
Older ChangeLog entries can be found in the ChangeLogs/ directory on a
file per release basis. Please note that 1.0.26 was never released.
EOF