Skip to content

Commit

Permalink
Add goreleaser check in $ make release
Browse files Browse the repository at this point in the history
  • Loading branch information
masutaka committed Jul 2, 2024
1 parent e96e262 commit 7ba6364
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,16 @@ deps-dist: goreleaser

# Release binary archives to GitHub
.PHONY: release
release: deps-release
release: deps-release release-check
goreleaser --clean

.PHONY: deps-release
deps-release: goreleaser

.PHONY: release-check
release-check:
goreleaser check

.PHONY: goreleaser
goreleaser:
ifeq ($(shell command -v goreleaser 2> /dev/null),)
Expand Down

0 comments on commit 7ba6364

Please sign in to comment.