-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathreleases.sh
More file actions
7 lines (7 loc) · 753 Bytes
/
releases.sh
File metadata and controls
7 lines (7 loc) · 753 Bytes
1
2
3
4
5
6
7
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags '-w -s' -gcflags '-N -l' -o bin/biu-cli_linux_amd64 ./cmd/biu-cli
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags '-w -s' -gcflags '-N -l' -o bin/biu-cli_linux_arm64 ./cmd/biu-cli
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags '-w -s' -gcflags '-N -l' -o bin/biu-cli_win_amd64.exe ./cmd/biu-cli
CGO_ENABLED=0 GOOS=windows GOARCH=arm64 go build -ldflags '-w -s' -gcflags '-N -l' -o bin/biu-cli_win_arm64.exe ./cmd/biu-cli
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags '-w -s' -gcflags '-N -l' -o bin/biu-cli_darwin_amd64 ./cmd/biu-cli
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags '-w -s' -gcflags '-N -l' -o bin/biu-cli_darwin_arm64 ./cmd/biu-cli
upx bin/*