[CI/CD] Change order of deb cleanup commands.

This commit is contained in:
Fabio Manganiello 2023-12-26 05:39:25 +01:00
parent 15c1ac3823
commit a50ea8dd8e
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -396,11 +396,11 @@ steps:
Homepage: https://platypush.tech Homepage: https://platypush.tech
Description: Universal command executor and automation hub. Description: Universal command executor and automation hub.
EOF EOF
- mkdir -p "$POOL_PATH"
- rm -f "$POOL_PATH/*.deb"
- dpkg --build "$GIT_BUILD_DIR" - dpkg --build "$GIT_BUILD_DIR"
- echo "--- Copying $GIT_DEB to $POOL_PATH" - echo "--- Copying $GIT_DEB to $POOL_PATH"
- mkdir -p "$POOL_PATH"
- rm -f "$POOL_PATH/*.deb"
- cp "$GIT_DEB" "$POOL_PATH" - cp "$GIT_DEB" "$POOL_PATH"
# If main/all/Packages doesn't exist, then we should create the first main release # If main/all/Packages doesn't exist, then we should create the first main release