File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,9 +101,12 @@ prepare-release-dist: build
101101 GOOS=darwin GOARCH=386 go build --tags kqueue -o dist/latest/scw-darwin-i386 github.com/scaleway/scaleway-cli/cmd/scw
102102 GOOS=darwin GOARCH=amd64 go build --tags kqueue -o dist/latest/scw-darwin-amd64 github.com/scaleway/scaleway-cli/cmd/scw
103103
104- GOOS=freebsd GOARCH=386 go build -o dist/latest/scw-freebsd-i386 github.com/scaleway/scaleway-cli/cmd/scw
105- GOOS=freebsd GOARCH=amd64 go build -o dist/latest/scw-freebsd-amd64 github.com/scaleway/scaleway-cli/cmd/scw
106- GOOS=freebsd GOARCH=arm go build -o dist/latest/scw-freebsd-arm github.com/scaleway/scaleway-cli/cmd/scw
104+ # Issue with mody and freebsd for go1.12+ https://github.com/moby/moby/pull/38818
105+ if [ $(GOMINORVERSION) -lt 12 ]; then \
106+ GOOS=freebsd GOARCH=386 go build -o dist/latest/scw-freebsd-i386 github.com/scaleway/scaleway-cli/cmd/scw && \
107+ GOOS=freebsd GOARCH=amd64 go build -o dist/latest/scw-freebsd-amd64 github.com/scaleway/scaleway-cli/cmd/scw && \
108+ GOOS=freebsd GOARCH=arm go build -o dist/latest/scw-freebsd-arm github.com/scaleway/scaleway-cli/cmd/scw; \
109+ fi
107110
108111 GOOS=netbsd GOARCH=386 go build -o dist/latest/scw-netbsd-i386 github.com/scaleway/scaleway-cli/cmd/scw
109112 GOOS=netbsd GOARCH=amd64 go build -o dist/latest/scw-netbsd-amd64 github.com/scaleway/scaleway-cli/cmd/scw
You can’t perform that action at this time.
0 commit comments