You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -238,11 +242,12 @@ lint-helm: $(HELM) ; $(info running lint for helm charts...) @ ## Run helm lint
238
242
.PHONY: check-manifests
239
243
check-manifests: generate manifests
240
244
$(info checking for git diff after running 'make manifests')
241
-
git diff --quiet ;if [ $$?-eq 1 ] ;thenecho"Please, commit manifests after running 'make manifests' and 'make generate' commands";exit 1;fi
245
+
@git diff --quiet || (echo "Error: Please, commit manifests after running 'make manifests' and 'make generate' commands' command"&&exit 1)
242
246
243
247
.PHONY: check-go-modules
244
248
check-go-modules: generate-go-modules
245
-
git diff --quiet HEAD go.sum;if [ $$?-eq 1 ] ;thenecho"go.sum is out of date. Please commit after running 'make generate-go-modules' command";exit 1;fi
249
+
$(info checking for git diff after running 'make generate-go-modules')
250
+
@git diff --quiet || (echo "Error: go.sum is out of date. Please commit after running 'make generate-go-modules' command"&&exit 1)
246
251
247
252
.PHONY: generate-go-modules
248
253
generate-go-modules:
@@ -251,7 +256,13 @@ generate-go-modules:
251
256
.PHONY: check-release-build
252
257
check-release-build: release-build
253
258
$(info checking for git diff after running 'make release-build')
0 commit comments