From 68cd2e125074a588f6a7beeb2652e2ae9f71e4c1 Mon Sep 17 00:00:00 2001 From: Stephen Brown Date: Sun, 29 Sep 2024 21:59:25 +0200 Subject: [PATCH] Seperate the build and release into two makefile targets --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6a3b6cfc..f6e5a4cf 100644 --- a/Makefile +++ b/Makefile @@ -63,8 +63,12 @@ upload-coverage: go install github.com/mattn/goveralls@v0.0.11 /go/bin/goveralls -coverprofile=coverage.txt -service=drone.io -.PHONE: build-binaries -build-binaries: +.PHONY: build +build: + go build . + +.PHONY: release +release: go install github.com/goreleaser/goreleaser/v2@latest goreleaser release --clean -f .github/goreleaser.yml