Skip to content

Commit

Permalink
abandon the upx compression
Browse files Browse the repository at this point in the history
  • Loading branch information
kpym committed May 18, 2021
1 parent 9e1c276 commit f516934
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,14 @@ before:
# you may remove this if you don't need go generate
- go generate ./...
builds:
# windows and linux use upx compression
- id: gm1
env:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
ldflags:
- -s -w -X main.version={{.Version}}
hooks:
post:
- upx "{{ .Path }}"
# mac builds on github has problems with upx compression
- id: gm2
env:
- CGO_ENABLED=0
goos:
- darwin
ldflags:
- -s -w -X main.version={{.Version}}
- -s -w -X main.version={{ .Version }}
archives:
- replacements:
darwin: MacOS
Expand Down

0 comments on commit f516934

Please sign in to comment.