build: add log message when destination object already exists
@@ -33,9 +33,11 @@ in makeEffect {
gsutil -h "Content-Type:$contentType" cp $file $uri
if ! stat_uri; then
- echo "failed pushing $file to $url" >&2
+ header "failed pushing $file to $url"
exit 1
fi
+ else
+ header "$uri already exists, skipping"
fi
'';
}
