From cf78fb6e4a26ab7f845ffdb69decb142880380c1 Mon Sep 17 00:00:00 2001 From: Anatolii Bazko Date: Mon, 21 Feb 2022 09:52:45 +0200 Subject: [PATCH 1/2] Fix sync Signed-off-by: Anatolii Bazko --- build/scripts/sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/scripts/sync.sh b/build/scripts/sync.sh index 2809897b..56fc2fcd 100755 --- a/build/scripts/sync.sh +++ b/build/scripts/sync.sh @@ -13,6 +13,7 @@ # convert chectl upstream to downstream using sed & perl transforms, and deleting files set -e +set -x MIDSTM_BRANCH=$(git rev-parse --abbrev-ref HEAD) DEFAULT_TAG=${MIDSTM_BRANCH#*-}; DEFAULT_TAG=${DEFAULT_TAG%%-*}; @@ -211,7 +212,6 @@ pushd "${TARGETDIR}" >/dev/null sed -r \ `# replace line after specified one with new default` \ -e "s|Kubernetes namespace|Openshift Project|g" \ - -e "s|env: 'CHE_DEPLOY_VERSION'|env: 'CHE_DEPLOY_VERSION',\n hidden: true|g" \ -e "/description: .+ deployment name.+/{n;s/.+/ default: 'codeready',/}" \ -i "${TARGETDIR}/${d}" popd >/dev/null From 02dca5d367a7e453b78970a0725a2b4935a436c8 Mon Sep 17 00:00:00 2001 From: Anatolii Bazko Date: Mon, 21 Feb 2022 09:53:57 +0200 Subject: [PATCH 2/2] Remove set -x Signed-off-by: Anatolii Bazko --- build/scripts/sync.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/build/scripts/sync.sh b/build/scripts/sync.sh index 56fc2fcd..6b33233f 100755 --- a/build/scripts/sync.sh +++ b/build/scripts/sync.sh @@ -13,7 +13,6 @@ # convert chectl upstream to downstream using sed & perl transforms, and deleting files set -e -set -x MIDSTM_BRANCH=$(git rev-parse --abbrev-ref HEAD) DEFAULT_TAG=${MIDSTM_BRANCH#*-}; DEFAULT_TAG=${DEFAULT_TAG%%-*};