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

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