Skip to content

Commit

Permalink
build/release: let go_version check be more flexible
Browse files Browse the repository at this point in the history
This code change lets the check confirm that
`go_version` contains `fips`. Previously, it required
that `fips` is a suffix of `go_version`.

Epic: none
Release note: None
  • Loading branch information
healthy-pod committed Sep 19, 2023
1 parent edac07d commit dd82dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/release/teamcity-support.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ verify_docker_image(){
error=1
fi
if [[ $fips_build == true ]]; then
if [[ "$go_version" != *"fips" ]]; then
if [[ "$go_version" != *"fips"* ]]; then
echo "ERROR: Go version '$go_version' does not contain 'fips'"
error=1
fi
Expand Down

0 comments on commit dd82dd5

Please sign in to comment.