Skip to content

Commit

Permalink
ci: add upx section
Browse files Browse the repository at this point in the history
  • Loading branch information
ShuheiKubota committed Jan 2, 2025
1 parent 17f1796 commit 2dbcb74
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ builds:
goarch:
- amd64
- 386
hooks:
post: upx --lzma '{{ .Path }}'
upx:
- enabled: true
goos: [linux, windows]
lzma: true
archives:
- name_template: '{{ .ProjectName }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
format_overrides:
Expand Down

0 comments on commit 2dbcb74

Please sign in to comment.