From 65033163327f3fc6ad4f318680d72660094a6e51 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Mon, 12 Nov 2018 14:46:35 +0000 Subject: [PATCH] Fix failing github releases The manpage was incorrectly zipped up with the `-z` option, which doesn't exist and created a 0-size file. Since Github does not accept 0-size files, this lead to the complete release deployment failing. Changing this to use the `-c` option should fix this problem by creating a proper non-zero size gzip file. --- ci/before_deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/before_deploy.sh b/ci/before_deploy.sh index f30d3015..04793032 100755 --- a/ci/before_deploy.sh +++ b/ci/before_deploy.sh @@ -57,7 +57,7 @@ fi # Convert and add manpage if it changed if [ -n "$(git diff $prev_tag HEAD alacritty.man)" ]; then - gzip -z "./alacritty.man" > "./target/deploy/alacritty.1.gz" + gzip -c "./alacritty.man" > "./target/deploy/alacritty.1.gz" fi # Offer extra files if they changed