From 60c68dbf5a7515fa2c2fa442f83c97171eba4be4 Mon Sep 17 00:00:00 2001 From: Dorota Czaplejewicz Date: Tue, 14 Jan 2020 18:47:04 +0000 Subject: [PATCH] ci: Clean up `..` before it's searched for artifacts GitLab doesn't always clean up the `..` directory, leaving things that are lated picked up as artifacts. The new rule cleans up anything that looks like an artifact before fresh ones are generated. --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 63d572e4..d8fdf579 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,6 +45,7 @@ build_deb: paths: - "*.deb" script: + - rm -f ../*.deb - apt-get -y build-dep . - apt-get -y install devscripts - debuild -i -us -uc -b @@ -59,6 +60,7 @@ build_deb:arm64: paths: - "*.deb" script: + - rm -f ../*.deb - apt-get -y build-dep . - apt-get -y install devscripts - debuild -i -us -uc -b