1
0
mirror of https://github.com/ribbybibby/ssl_exporter.git synced 2025-02-19 19:59:47 +02:00

Install goreleaser with go install

This commit is contained in:
Rob Best 2021-12-23 12:33:58 +00:00
parent b5b2729d01
commit 88198bf608

View File

@ -49,7 +49,7 @@ docker:
@docker build -t "$(DOCKER_IMAGE_NAME):$(DOCKER_IMAGE_TAG)" .
$(GOPATH)/bin/goreleaser:
@curl -sfL https://install.goreleaser.com/github.com/goreleaser/goreleaser.sh | BINDIR=$(GOPATH)/bin sh
@go install github.com/goreleaser/goreleaser@v1.2.2
snapshot: $(GOPATH)/bin/goreleaser
@echo ">> building snapshot"
@ -63,4 +63,4 @@ clean:
@rm -Rf $(BIN_DIR)
@rm -Rf $(BIN_NAME)
.PHONY: all style test format vet build docker snapshot release clean
.PHONY: all style test format vet build docker snapshot release clean