From 01f56ce06a3db59f8add4f08d91afc1b3048e729 Mon Sep 17 00:00:00 2001 From: John Gosset Date: Sun, 14 Jan 2024 01:13:40 -0500 Subject: [PATCH] fix: Use non-bracket syntax for test The bracket syntax causes goreleaser to bail out early. --- .goreleaser.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 95a34d8..87de27f 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -19,7 +19,7 @@ builds: - go_first_class hooks: post: - - [ $(uname -s) != Darwin ] && upx "{{ .Path }}" + - test $(uname -s) != Darwin && upx "{{ .Path }}" archives: - format_overrides: