diff --git a/script/build.sh b/script/build.sh index 2913dc3..8ee5ca7 100755 --- a/script/build.sh +++ b/script/build.sh @@ -1078,6 +1078,9 @@ while [[ $# -gt 0 ]]; do printEnvHelp exit 0 ;; + --build-mode=*) + BUILD_MODE="${1#*=}" + ;; --disable-cgo) CGO_ENABLED="0" ;;