From 8d33ec62de7f777d28e0adfd9a078c2cbaeb8163 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Mon, 28 Feb 2022 02:51:34 +0100 Subject: hooks/pre-push: Keep original cast on gzip, fix uploading with dash Signed-off-by: Stefano Brivio --- hooks/pre-push | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'hooks/pre-push') diff --git a/hooks/pre-push b/hooks/pre-push index 69bbd18..a3f67f4 100755 --- a/hooks/pre-push +++ b/hooks/pre-push @@ -40,8 +40,9 @@ scp test_logs/* "${USER_HOST}:${TEST}/" ./run_demo for cast in ci demo_pasta demo_podman demo_passt; do - gzip -9 "${cast}.cast" - scp "${cast}.cast"{,.gz} "${USER_HOST}:${WEB}/" + gzip -fk9 "${cast}.cast" + scp "${cast}.cast" "${USER_HOST}:${WEB}/" + scp "${cast}.cast.gz" "${USER_HOST}:${WEB}/" done cd .. -- cgit v1.2.3