From a50ea8dd8e9b9726de190d5c80a7712333b2e084 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 26 Dec 2023 05:39:25 +0100 Subject: [PATCH] [CI/CD] Change order of deb cleanup commands. --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 170918b667..e011033d24 100644 --- a/.drone.yml +++ b/.drone.yml @@ -396,11 +396,11 @@ steps: Homepage: https://platypush.tech Description: Universal command executor and automation hub. EOF + - mkdir -p "$POOL_PATH" + - rm -f "$POOL_PATH/*.deb" - dpkg --build "$GIT_BUILD_DIR" - echo "--- Copying $GIT_DEB to $POOL_PATH" - - mkdir -p "$POOL_PATH" - - rm -f "$POOL_PATH/*.deb" - cp "$GIT_DEB" "$POOL_PATH" # If main/all/Packages doesn't exist, then we should create the first main release