diff --git a/.goreleaser.yml b/.goreleaser.yml index a47c058..7e7bf0e 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -10,6 +10,8 @@ builds: - main: cmd/plax/main.go id: plax binary: plax + env: + - CGO_ENABLED=0 goos: - linux - darwin @@ -20,6 +22,8 @@ builds: - main: cmd/plaxrun/main.go id: plaxrun binary: plaxrun + env: + - CGO_ENABLED=0 goos: - linux - darwin @@ -30,6 +34,8 @@ builds: - main: cmd/plaxrun/plugins/report/stdout/main.go id: plaxrun_report_stdout binary: plaxrun_report_stdout + env: + - CGO_ENABLED=0 goos: - linux - darwin @@ -40,6 +46,8 @@ builds: - main: cmd/plaxrun/plugins/report/octane/main.go id: plaxrun_report_octane binary: plaxrun_report_octane + env: + - CGO_ENABLED=0 goos: - linux - darwin @@ -50,6 +58,8 @@ builds: - main: cmd/plaxrun/plugins/report/rp/main.go id: plaxrun_report_rp binary: plaxrun_report_rp + env: + - CGO_ENABLED=0 goos: - linux - darwin @@ -60,6 +70,8 @@ builds: - main: cmd/yamlincl/main.go id: yamlincl binary: yamlincl + env: + - CGO_ENABLED=0 goos: - linux - darwin diff --git a/Makefile b/Makefile index 4f7c5f6..4af9a16 100644 --- a/Makefile +++ b/Makefile @@ -33,11 +33,11 @@ clean: .PHONY: dist dist: clean - goreleaser release --skip-publish --rm-dist + goreleaser release --skip=publish --clean .PHONY: release release: clean - goreleaser release --rm-dist + goreleaser release --clean # A demonstratio of using a Go plug-in to load a MySQL driver at # runtime for use in a Plax test that uses a SQL channel to talk to