From 6391c0f16b0dab7d4693eb3d4f3215d6fecfffa2 Mon Sep 17 00:00:00 2001 From: Gabor Boros Date: Mon, 11 Oct 2021 09:53:14 +0200 Subject: [PATCH] build(goreleaser): add post build hook to call upx --- .goreleaser.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index f95968c..5bc3355 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -9,6 +9,9 @@ builds: - linux - windows - darwin + hooks: + post: + - "upx {{ .Path }}" dist: bin archives: - replacements: