Skip to content

Commit

Permalink
fix: CRW-2345 use new mapping in .Other.DEV_WORKSPACE_CONTROLLER_VERS…
Browse files Browse the repository at this point in the history
…ION.2.x == v0.9.0 (so we're using the same value as upstream)

Signed-off-by: nickboldt <nboldt@redhat.com>
  • Loading branch information
nickboldt committed Oct 7, 2021
1 parent 7bc9ed3 commit db18164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codeready-workspaces-operator/build/scripts/sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ if [[ -z "${DEV_WORKSPACE_CONTROLLER_VERSION}" ]] || [[ -z "${DEV_HEADER_REWRITE
CRW_VERSION=${MIDSTM_BRANCH/crw-/}; CRW_VERSION=${CRW_VERSION//-rhel-8}
fi
if [[ -z "${DEV_WORKSPACE_CONTROLLER_VERSION}" ]]; then
DEV_WORKSPACE_CONTROLLER_VERSION="$(echo "$configjson" | jq -r '.Jobs["devworkspace-controller"]["'${CRW_VERSION}'"].upstream_branch[0]')"
DEV_WORKSPACE_CONTROLLER_VERSION="$(echo "$configjson" | jq -r '.Other["DEV_WORKSPACE_CONTROLLER_VERSION"]["'${CRW_VERSION}'"]')"
if [[ ${DEV_WORKSPACE_CONTROLLER_VERSION} == "null" ]]; then DEV_WORKSPACE_CONTROLLER_VERSION="main"; fi
fi
if [[ -z "${DEV_HEADER_REWRITE_TRAEFIK_PLUGIN}" ]]; then
Expand Down

0 comments on commit db18164

Please sign in to comment.