From 42069e5f160ed904e5fb0b483082e20ec06705ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0pa=C4=8Dek?= Date: Wed, 2 Mar 2022 14:00:51 +0100 Subject: [PATCH] Generate diffs in tarball-create CI job Usually it is just nits and it is much easier to debug when you actually can see what the differences were. (cherry picked from commit 785f6d470f5a1a78c2d8f9b5c535e0e8ea605959) --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3571d5622e..4c4d4d4242 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -505,11 +505,13 @@ tarball-create: - autoreconf -fi - ./configure --enable-maintainer-mode - make -j${BUILD_PARALLEL_JOBS:-1} all V=1 - - if test "$(git status --porcelain | grep -Ev '\?\?' | wc -l)" -gt "0"; then git status --short; exit 1; fi + - if test "$(git status --porcelain | grep -Ev '\?\?' | wc -l)" -gt "0"; then git status --short; git diff > diff.patch; exit 1; fi - make -j${BUILD_PARALLEL_JOBS:-1} dist V=1 artifacts: paths: + - diff.patch - bind-*.tar.${TARBALL_EXTENSION} + when: always needs: - job: autoreconf artifacts: true