diff --git a/.github/scripts/release-verification.sh b/.github/scripts/release-verification.sh index f61b22cd02..5e384010a4 100755 --- a/.github/scripts/release-verification.sh +++ b/.github/scripts/release-verification.sh @@ -14,6 +14,8 @@ # limitations under the License. # ------------------------------------------------------------ +set -ex + # RELEASE_VERSION_NUMBER is the Radius release version number # (e.g. 0.24.0, 0.24.0-rc1) RELEASE_VERSION_NUMBER=$1 @@ -65,7 +67,6 @@ APPCORE_RP_IMAGE=$(kubectl describe pods -n radius-system -l control-plane=appli UCP_IMAGE=$(kubectl describe pods -n radius-system -l control-plane=ucp | awk '/^.*Image:/ {print $2}') DE_IMAGE=$(kubectl describe pods -n radius-system -l control-plane=bicep-de | awk '/^.*Image:/ {print $2}') - if [[ "${APPCORE_RP_IMAGE}" != "${EXPECTED_APPCORE_RP_IMAGE}" ]]; then echo "Error: Applications RP image: ${APPCORE_RP_IMAGE} does not match the desired image: ${EXPECTED_APPCORE_RP_IMAGE}." exit 1