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

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
1 changed files with 2 additions and 2 deletions

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