mirror of
https://github.com/ncarlier/webhookd.git
synced 2024-09-20 08:55:28 +00:00
chore(): use gzip for distrib
This commit is contained in:
parent
f3f5dd5209
commit
891be3c091
|
@ -9,10 +9,10 @@ deploy:
|
||||||
api_key:
|
api_key:
|
||||||
secure: VATbHmgR1DDXlIHEMpupuTggPU6wgtZk3BFK/eT5L+qqhnfSal1z+ZsypgWMGZN2Ch6WTRFaXqUhpV7N2oo+pQoXAYcDFWTd3BiTUied+pKVoUa8VuZFF2TW1cNcVJ3fnFPMFnpJPTYkld//+8s8zJQitTabE1QZdXNYPU1uUiY=
|
secure: VATbHmgR1DDXlIHEMpupuTggPU6wgtZk3BFK/eT5L+qqhnfSal1z+ZsypgWMGZN2Ch6WTRFaXqUhpV7N2oo+pQoXAYcDFWTd3BiTUied+pKVoUa8VuZFF2TW1cNcVJ3fnFPMFnpJPTYkld//+8s8zJQitTabE1QZdXNYPU1uUiY=
|
||||||
file:
|
file:
|
||||||
- release/webhookd-linux-amd64.tgz
|
- release/webhookd-linux-amd64.gz
|
||||||
- release/webhookd-linux-arm64.tgz
|
- release/webhookd-linux-arm64.gz
|
||||||
- release/webhookd-linux-arm.tgz
|
- release/webhookd-linux-arm.gz
|
||||||
- release/webhookd-darwin-amd64.tgz
|
- release/webhookd-darwin-amd64.gz
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
repo: ncarlier/webhookd
|
repo: ncarlier/webhookd
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -76,7 +76,7 @@ changelog:
|
||||||
|
|
||||||
## GZIP executable
|
## GZIP executable
|
||||||
gzip:
|
gzip:
|
||||||
tar cvzf $(ARTEFACT).tgz $(ARTEFACT)
|
gzip $(ARTEFACT)
|
||||||
.PHONY: gzip
|
.PHONY: gzip
|
||||||
|
|
||||||
## Create distribution binaries
|
## Create distribution binaries
|
||||||
|
|
|
@ -35,7 +35,7 @@ sudo tar xvzf ${download_file} -C /tmp/
|
||||||
[ $? != 0 ] && die "Unable to extract archive."
|
[ $? != 0 ] && die "Unable to extract archive."
|
||||||
|
|
||||||
echo "Moving binary to $bin_target ..."
|
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."
|
[ $? != 0 ] && die "Unable to move binary."
|
||||||
|
|
||||||
echo "Making $bin_target as executable ..."
|
echo "Making $bin_target as executable ..."
|
||||||
|
|
Loading…
Reference in New Issue
Block a user