Cleanup in build script
This commit is contained in:
@@ -390,10 +390,10 @@ if [[ "$CLEANUP_MODE" == "true" ]]; then
|
||||
|
||||
# Remove all .-commit files
|
||||
if compgen -G "$WHEELS_DIR/*.-commit" > /dev/null 2>&1; then
|
||||
rm -f "$WHEELS_DIR"/*.-commit
|
||||
echo "Removed *.-commit files from $WHEELS_DIR"
|
||||
rm -f "$WHEELS_DIR"/.*-commit
|
||||
echo "Removed .*-commit files from $WHEELS_DIR"
|
||||
else
|
||||
echo "No *.-commit files found in $WHEELS_DIR"
|
||||
echo "No .*-commit files found in $WHEELS_DIR"
|
||||
fi
|
||||
|
||||
echo "Cleanup complete."
|
||||
|
||||
Reference in New Issue
Block a user