common: add lint-version-change

This commit is contained in:
Piotr Wójcik
2021-05-24 22:18:54 +02:00
committed by Piotr
parent 2dbe48e260
commit c0331b57eb
2 changed files with 92 additions and 0 deletions

View File

@@ -5,8 +5,10 @@
[ "$XLINT" ] || exit 0
EXITCODE=0
read base tip < /tmp/revisions
for t in $(awk '{ print "srcpkgs/" $0 "/template" }' /tmp/templates); do
/bin/echo -e "\x1b[32mLinting $t...\x1b[0m"
xlint "$t" || EXITCODE=$?
common/scripts/lint-version-change "$t" $base $tip || EXITCODE=$?
done
exit $EXITCODE