1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-07 13:31:37 +02:00

chore: fix go-mod-tidy silent failure (#1080)

- due to the `||` go-mod-tidy check will fail silently
This commit is contained in:
Simon Prochazka 2019-07-15 22:11:12 +02:00 committed by Carlos Alexandro Becker
parent 018d37cf38
commit 797dc69458

View File

@ -39,7 +39,7 @@ lint:
# Clean go.mod
go-mod-tidy:
go mod tidy -v
git diff-index --quiet HEAD || echo "Go mod tidy failed. Please run it locally"
git diff-index --quiet HEAD
.PHONY: go-mod-tidy
# Run all the tests and code checks