Skip to content

Commit

Permalink
Seperate the build and release into two makefile targets
Browse files Browse the repository at this point in the history
  • Loading branch information
evolvedlight committed Sep 29, 2024
1 parent 1a8425d commit 68cd2e1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,12 @@ upload-coverage:
go install github.com/mattn/[email protected]
/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

0 comments on commit 68cd2e1

Please sign in to comment.