Run assemble_changelog.py in all.sh

Avoid nasty surprises where it would fail when we want to make a release.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2020-05-10 17:40:49 +02:00
parent 43c74d20de
commit 3c23c82dac

View File

@ -589,6 +589,18 @@ component_check_files () {
record_status tests/scripts/check-files.py record_status tests/scripts/check-files.py
} }
component_check_changelog () {
msg "Check: changelog entries" # < 1s
rm -f ChangeLog.new
record_status scripts/assemble_changelog.py -o ChangeLog.new
if [ -e ChangeLog.new ]; then
# Show the diff for information. It isn't an error if the diff is
# non-empty.
diff -u ChangeLog ChangeLog.new || true
rm ChangeLog.new
fi
}
component_check_names () { component_check_names () {
msg "test/build: declared and exported names" # < 3s msg "test/build: declared and exported names" # < 3s
record_status tests/scripts/check-names.sh -v record_status tests/scripts/check-names.sh -v