Skip to content

Commit 87d00c9

Browse files
committed
build: add build-all target to replicate goreleaser release process
builds all distribution specific binaries and not just for the current platform, attempt to build docker images, etc. Signed-off-by: TJ Hoplock <[email protected]>
1 parent d2c2ff4 commit 87d00c9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ binary: fmt tidy lint ## build a binary
2727

2828
build: binary ## alias for `binary`
2929

30-
test: fmt tidy lint ## run tests
30+
build-all: ## test release process with goreleaser, does not publish/upload
31+
goreleaser release --snapshot --clean
32+
33+
test: fmt tidy ## run tests
3134
go test -race -v ./...
3235

3336
container: binary ## build container image with binary

0 commit comments

Comments
 (0)