From 64eaf2c80a86933e93c9d7cb7784dac565052021 Mon Sep 17 00:00:00 2001 From: Markus Frosch <markus.frosch@icinga.com> Date: Mon, 26 Apr 2021 16:07:50 +0200 Subject: [PATCH] deb: Remove any source changes or buildinfo before running binary build Avoids possible problems with uploads later refs https://git.netways.de/packaging/packaging/-/issues/11 refs https://git.netways.de/nps/tools/repotool/-/issues/3 --- icinga-build-deb-binary | 2 ++ 1 file changed, 2 insertions(+) diff --git a/icinga-build-deb-binary b/icinga-build-deb-binary index f2e037d..71224ac 100755 --- a/icinga-build-deb-binary +++ b/icinga-build-deb-binary @@ -77,6 +77,8 @@ echo "[ Building binary package ]" ( set -ex cd "${BUILDDIR}/${ICINGA_BUILD_PROJECT}" + # Remove source build metadata before binary build + rm -rf ../*.changes ../*.buildinfo dpkg-buildpackage -rfakeroot -uc -us $binopts ) -- GitLab