[CI/CD] Change order of deb cleanup commands.
Some checks reported errors
continuous-integration/drone/push Build was killed

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

View file

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