File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,11 @@ jobs:
4343 FLEET_MINOR=$(echo "${FLEET_VERSION}" | cut -d'.' -f2)
4444 RANCHER_VERSION="2.$((FLEET_MINOR - 1))"
4545
46- if ! CHART_DEFAULT_BRANCH =$(curl -sf "https://raw.githubusercontent.com/rancher/rancher/release/v${RANCHER_VERSION}/package/Dockerfile" | grep "ARG CHART_DEFAULT_BRANCH=" | cut -d'=' -f2 ); then
46+ if ! DOCKERFILE_CONTENT =$(curl -sf "https://raw.githubusercontent.com/rancher/rancher/release/v${RANCHER_VERSION}/package/Dockerfile"); then
4747 echo "Release branch release/v${RANCHER_VERSION} not found, assuming main branch which can not be in code freeze"
4848 exit 0
4949 fi
50+ CHART_DEFAULT_BRANCH=$(echo "${DOCKERFILE_CONTENT}" | grep "ARG CHART_DEFAULT_BRANCH=" | cut -d'=' -f2)
5051
5152 if [[ "${CHART_DEFAULT_BRANCH}" != "dev-v${RANCHER_VERSION}" ]]; then
5253 echo "ERROR: CHART_DEFAULT_BRANCH does not match the expected dev branch!"
You can’t perform that action at this time.
0 commit comments