chore(): use gzip for distrib

This commit is contained in:
Nicolas Carlier 2019-01-03 10:59:44 +00:00
parent f3f5dd5209
commit 891be3c091
3 changed files with 6 additions and 6 deletions

View File

@ -9,10 +9,10 @@ deploy:
api_key:
secure: VATbHmgR1DDXlIHEMpupuTggPU6wgtZk3BFK/eT5L+qqhnfSal1z+ZsypgWMGZN2Ch6WTRFaXqUhpV7N2oo+pQoXAYcDFWTd3BiTUied+pKVoUa8VuZFF2TW1cNcVJ3fnFPMFnpJPTYkld//+8s8zJQitTabE1QZdXNYPU1uUiY=
file:
- release/webhookd-linux-amd64.tgz
- release/webhookd-linux-arm64.tgz
- release/webhookd-linux-arm.tgz
- release/webhookd-darwin-amd64.tgz
- release/webhookd-linux-amd64.gz
- release/webhookd-linux-arm64.gz
- release/webhookd-linux-arm.gz
- release/webhookd-darwin-amd64.gz
skip_cleanup: true
on:
repo: ncarlier/webhookd

View File

@ -76,7 +76,7 @@ changelog:
## GZIP executable
gzip:
tar cvzf $(ARTEFACT).tgz $(ARTEFACT)
gzip $(ARTEFACT)
.PHONY: gzip
## Create distribution binaries

View File

@ -35,7 +35,7 @@ sudo tar xvzf ${download_file} -C /tmp/
[ $? != 0 ] && die "Unable to extract archive."
echo "Moving binary to $bin_target ..."
sudo mv /tmp/release/webhookd* $bin_target
sudo mv /tmp/webhookd* $bin_target
[ $? != 0 ] && die "Unable to move binary."
echo "Making $bin_target as executable ..."