diff --git a/.goreleaser.yml b/.goreleaser.yml index 03cde8c..bc269dc 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -3,11 +3,8 @@ builds: - id: tube binary: tube main: . - flags: - - -installsuffix=netgo tags: - embed - - netcgo - static_build ldflags: >- -w diff --git a/Makefile b/Makefile index bab225d..14952b6 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ dev : server ## Build debug version of tube @./tube server: generate ## Build the tube server - @$(GOCMD) build -tags "embed netgo static_build" -installsuffix netgo \ + @$(GOCMD) build -tags "embed static_build" \ -ldflags "-w \ -X $(shell go list).Version=$(VERSION) \ -X $(shell go list).Commit=$(COMMIT)" \