From 79ccf4389e2a8eb0b4b3e3dddf2685975abf0f28 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Tue, 7 Jun 2016 09:17:12 +0000 Subject: [PATCH] make-dist: skip news-check for non-releases * make-dist: Run news-check only when the commit being built matches a release tag. --- make-dist | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/make-dist b/make-dist index 16c97979..f0e72966 100755 --- a/make-dist +++ b/make-dist @@ -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 .. -- 2.40.0