Skip to content

Commit

Permalink
adding upx to goreleaser
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Shanley <dave@quobix.com>
  • Loading branch information
daveshanley committed Jul 23, 2023
1 parent 1751cac commit 51ec287
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,40 @@ brews:
bin.install "wiretap"
snapshot:
name_template: "{{ .Tag }}"
name_template: "{{ .Tag }}"

upx:
-
# Whether to enable it or not.
enabled: true


# Filter by GOOS.
#
# Since: v1.19
goos: [ linux , darwin ]

# Filter by GOARCH.
#
# Since: v1.19
goarch: [ arm, amd64 ]

# Filter by GOARM.
#
# Since: v1.19
goarm: [ 8 ]

# Filter by GOAMD64.
#
# Since: v1.19
goamd64: [ v1 ]

# Compress argument.
# Valid options are from '1' (faster) to '9' (better), and 'best'.
compress: best

# Whether to try LZMA (slower).
lzma: true

# Whether to try all methods and filters (slow).
brute: true

0 comments on commit 51ec287

Please sign in to comment.