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 785f6d470f)
This commit is contained in:
Petr Špaček 2022-03-02 14:00:51 +01:00
parent 3554ec4615
commit 42069e5f16
No known key found for this signature in database
GPG key ID: ABD587CDF06581AE

View file

@ -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