From 31040303f7c20939ff1009836e90f7586fc8b118 Mon Sep 17 00:00:00 2001 From: James Mills Date: Mon, 1 Aug 2022 14:28:03 +1000 Subject: [PATCH] Remove deprecated netgo build tag (Fixes #4) --- .goreleaser.yml | 3 --- Makefile | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) 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)" \