From 1bd9f522e0e3e248ed0e2a7d75461992354e3418 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Fri, 17 Jan 2020 11:05:22 +0000 Subject: [PATCH] build: compress the test builds This is to use less space and to fix the caddy/rclone interaction using too much bandwidth. See: https://caddy.community/t/how-to-stop-caddy-sniffing-mime-types-and-return-a-default-mime-type/6819 --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 7a67a6d27..e2fcf8787 100644 --- a/Makefile +++ b/Makefile @@ -183,6 +183,9 @@ endif @echo Beta release ready at $(BETA_URL) circleci_upload: + sudo chown -R $$USER build + find build -type l -delete + gzip -r9v build ./rclone --config bin/travis.rclone.conf -v copy build/ $(BETA_UPLOAD)/testbuilds ifndef BRANCH_PATH ./rclone --config bin/travis.rclone.conf -v copy build/ $(BETA_UPLOAD_ROOT)/test/testbuilds-latest