File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,8 @@ GO_APIDIFF_PKG := github.com/joelanford/go-apidiff
141
141
HADOLINT_VER := v2.10.0
142
142
HADOLINT_FAILURE_THRESHOLD = warning
143
143
144
+ SHELLCHECK_VER := v0.9.0
145
+
144
146
KPROMO_VER := v3.4.5
145
147
KPROMO_BIN := kpromo
146
148
KPROMO := $(abspath $(TOOLS_BIN_DIR ) /$(KPROMO_BIN ) -$(KPROMO_VER ) )
@@ -616,7 +618,7 @@ verify-boilerplate: ## Verify boilerplate text exists in each file
616
618
617
619
.PHONY : verify-shellcheck
618
620
verify-shellcheck : # # Verify shell files
619
- TRACE=$(TRACE ) ./hack/verify-shellcheck.sh
621
+ TRACE=$(TRACE ) ./hack/verify-shellcheck.sh $( SHELLCHECK_VER )
620
622
621
623
.PHONY : verify-tiltfile
622
624
verify-tiltfile : # # Verify Tiltfile format
Original file line number Diff line number Diff line change @@ -21,7 +21,12 @@ if [[ "${TRACE-0}" == "1" ]]; then
21
21
set -o xtrace
22
22
fi
23
23
24
- VERSION=" v0.8.0"
24
+ if [ $# -ne 1 ]; then
25
+ echo 1>&2 " $0 : usage: ./verify-shellcheck.sh <version>"
26
+ exit 2
27
+ fi
28
+
29
+ VERSION=${1}
25
30
26
31
OS=" unknown"
27
32
if [[ " ${OSTYPE} " == " linux" * ]]; then
You can’t perform that action at this time.
0 commit comments