Skip to content

Commit

Permalink
Fail make lint for loop if goreleaser lint fails (eksctl-io#3180)
Browse files Browse the repository at this point in the history
* Fail make lint for loop if goreleaser lint fails

* Fix goreleaser config deprecated field
  • Loading branch information
michaelbeaumont authored Jan 29, 2021
1 parent 49e8163 commit fda7479
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.brew.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
brews:
- github:
- tap:
owner: weaveworks
name: homebrew-tap

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fda7479

Please sign in to comment.