make-dist: skip news-check for non-releases

* make-dist: Run news-check only when the commit being built
matches a release tag.
This commit is contained in:
Дмитрий Левин 2016-06-07 09:17:12 +00:00
parent 4e085d0b46
commit 79ccf4389e

View File

@ -21,6 +21,11 @@ git checkout -f "$tag"
./configure --enable-maintainer-mode
make -s $j distcheck
make -s $j news-check
if git describe --exact-match --match='v*' >/dev/null; then
make -s $j news-check
else
echo 'SKIP: make news-check'
fi
mv -f strace-*.tar.xz ..