aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Dürr <contact@christianduerr.com>2018-11-12 12:35:06 +0100
committerChristian Dürr <contact@christianduerr.com>2018-11-12 12:35:06 +0100
commit71bb2a90d081c2bd441dfd678fa862e5ad6e25f3 (patch)
tree175bfb5548808595f23b71e368d02faf30a1227a
parentf182afafe5c3e28205d2f45361d689b99f936955 (diff)
downloadalacritty-fix-releases.tar.gz
alacritty-fix-releases.zip
Fix failing github releasesfix-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.
-rwxr-xr-xci/before_deploy.sh2
1 files changed, 1 insertions, 1 deletions
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