diff --git a/.goreleaser.yml b/.goreleaser.yml index adc0026..6b1c058 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -12,7 +12,6 @@ builds: env: - CGO_ENABLED=0 - GO111MODULE=on - - GOPROXY="https://goproxy.cn,direct" targets: - linux_amd64 - linux_arm64 diff --git a/Makefile b/Makefile index f4b4140..c7fc0b7 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ VERSION := $(shell head -1 version) -GO := GO111MODULE=on CGO_ENABLED=0 GOPROXY="https://goproxy.cn,direct" go +GO := GO111MODULE=on CGO_ENABLED=0 go _COMMIT := $(shell git describe --no-match --always --dirty) COMMIT := $(if $(COMMIT),$(COMMIT),$(_COMMIT)) BUILDDATE := $(shell date '+%Y-%m-%dT%H:%M:%S')