Skip to content

Commit

Permalink
fix: Use non-bracket syntax for test
Browse files Browse the repository at this point in the history
The bracket syntax causes goreleaser to bail out early.
  • Loading branch information
qjcg committed Jan 14, 2024
1 parent b6ef693 commit 01f56ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ builds:
- go_first_class
hooks:
post:
- [ $(uname -s) != Darwin ] && upx "{{ .Path }}"
- test $(uname -s) != Darwin && upx "{{ .Path }}"

archives:
- format_overrides:
Expand Down

0 comments on commit 01f56ce

Please sign in to comment.