1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00

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 Dürr 2018-11-12 12:35:06 +01:00
parent f182afafe5
commit 71bb2a90d0

View file

@ -57,7 +57,7 @@ fi
# Convert and add manpage if it changed # Convert and add manpage if it changed
if [ -n "$(git diff $prev_tag HEAD alacritty.man)" ]; then 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 fi
# Offer extra files if they changed # Offer extra files if they changed