forked from istio/istio
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Summary
- The output of
create-test-images
step contains the following error message:./tetrateci/create_istio_release.sh: line 83: [: =~: binary operator expected
- the line in question does some
fips
-related check# fips go versions are like 1.14.12b5, extra checking to not miss anything if [ ${TAG} =~ "fips" ]; then [[ $BUILD_GO_VERSION =~ 1.[0-9]+.[0-9]+[a-z][0-9]$ ]] || exit 1 fi
shellcheck
reports the following error for this line:In ./tetrateci/create_istio_release.sh line 83: if [ ${TAG} =~ "fips" ]; then ^-- SC2074: Can't use =~ in [ ]. Use [[..]] instead.
Examples
Metadata
Metadata
Assignees
Labels
No labels