From c098576823d4effd02aa7d914362eed83e6ae0de Mon Sep 17 00:00:00 2001 From: Eric Daniels Date: Tue, 2 Apr 2024 13:52:32 -0400 Subject: [PATCH] Fail on go mod version mismatch --- scripts/lint-go-mod-version.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/lint-go-mod-version.sh b/scripts/lint-go-mod-version.sh index 15b23b7..14262f0 100755 --- a/scripts/lint-go-mod-version.sh +++ b/scripts/lint-go-mod-version.sh @@ -29,4 +29,5 @@ if [[ ${GO_MOD_VERSION} != ${GO_MOD_VERSION_EXPECTED} ]]; then echo " Found ${GO_MOD_VERSION}" echo " Expected ${GO_MOD_VERSION_EXPECTED}" fi + exit 1 fi