Skip to content

Commit 6aa1f8a

Browse files
Automator: update common-files@master in istio/istio@master (istio#35477)
1 parent 5b8369c commit 6aa1f8a

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

common/.commonfiles.sha

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
fa22ff656bcb449998e18131f57f77d47f030e68
1+
8361d9ff287271f89ec5a8c78f70ea85669bca81

common/scripts/gobuild.sh

-8
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,6 @@ while read -r line; do
7070
LD_EXTRAFLAGS="${LD_EXTRAFLAGS} -X ${line}"
7171
done < "${BUILDINFO}"
7272

73-
# verify go version before build
74-
# NB. this was copied verbatim from Kubernetes hack
75-
minimum_go_version=go1.13 # supported patterns: go1.x, go1.x.x (x should be a number)
76-
IFS=" " read -ra go_version <<< "$(${GOBINARY} version)"
77-
if [[ "${minimum_go_version}" != $(echo -e "${minimum_go_version}\n${go_version[2]}" | sort -s -t. -k 1,1 -k 2,2n -k 3,3n | head -n1) && "${go_version[2]}" != "devel" ]]; then
78-
echo "Warning: Detected that you are using an older version of the Go compiler. Istio requires ${minimum_go_version} or greater."
79-
fi
80-
8173
OPTIMIZATION_FLAGS=(-trimpath)
8274
if [ "${DEBUG}" == "1" ]; then
8375
OPTIMIZATION_FLAGS=()

0 commit comments

Comments
 (0)