mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-07-29 01:18:48 +02:00
Add freebsd to goreleaser config
While at it, fixed the hook upx script to run per file, and ignore binaries which are not supported.
This commit is contained in:
+6
-1
@@ -11,6 +11,7 @@ builds:
|
||||
- -s -w
|
||||
goos:
|
||||
- linux
|
||||
- freebsd
|
||||
- windows
|
||||
goarch:
|
||||
- 386
|
||||
@@ -26,7 +27,11 @@ builds:
|
||||
- softfloat
|
||||
main: ./cmd/ctrld
|
||||
hooks:
|
||||
post: /bin/sh ./scripts/upx.sh
|
||||
post: /bin/sh ./scripts/upx.sh {{ .Path }}
|
||||
ignore:
|
||||
- goos: freebsd
|
||||
goarch: arm
|
||||
goarm: 5
|
||||
archives:
|
||||
- format_overrides:
|
||||
- goos: windows
|
||||
|
||||
Reference in New Issue
Block a user