From fda7479f223d79951291b0ccdbbd3fcf7f7f9421 Mon Sep 17 00:00:00 2001 From: Mike <2266568+michaelbeaumont@users.noreply.github.com> Date: Fri, 29 Jan 2021 17:57:41 +0100 Subject: [PATCH] Fail make lint for loop if goreleaser lint fails (#3180) * Fail make lint for loop if goreleaser lint fails * Fix goreleaser config deprecated field --- .goreleaser.brew.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.goreleaser.brew.yml b/.goreleaser.brew.yml index 1edc0f52c7..f2705bbf2e 100644 --- a/.goreleaser.brew.yml +++ b/.goreleaser.brew.yml @@ -1,5 +1,5 @@ brews: - - github: + - tap: owner: weaveworks name: homebrew-tap diff --git a/Makefile b/Makefile index aba368322e..947ba7e646 100644 --- a/Makefile +++ b/Makefile @@ -76,7 +76,7 @@ endif .PHONY: lint lint: ## Run linter over the codebase golangci-lint run - @for config_file in $(shell ls .goreleaser*); do goreleaser check -f $${config_file}; done + @for config_file in $(shell ls .goreleaser*); do goreleaser check -f $${config_file} || exit 1; done .PHONY: test test: