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.
This commit is contained in:
Christian Duerr 2018-11-12 14:46:35 +00:00 committed by GitHub
parent f182afafe5
commit 6503316332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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