Skip to content

Commit

Permalink
add back missed changes
Browse files Browse the repository at this point in the history
Signed-off-by: Chun Lin Yang <clyang@cn.ibm.com>
  • Loading branch information
clyang82 committed Dec 28, 2018
1 parent 1fa6bef commit ee90930
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions release/gcb/helm_values.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ function fix_values_yaml() {
# Copy helm charts (build by helm_charts.sh) to be packaged in the tarball.
mkdir -vp ./"istio-${CB_VERSION}"/install/kubernetes/helm/charts
cp /workspace/charts/* ./"istio-${CB_VERSION}"/install/kubernetes/helm/charts

# replace prerelease with release location for istio.io repo
if [ "${CB_PIPELINE_TYPE}" = "monthly" ]; then
sed -i.bak "s:istio-prerelease/daily-build.*$:istio-release/releases/${CB_VERSION}/charts:g" ./"istio-${CB_VERSION}"/install/kubernetes/helm/istio/README.md
rm -rf ./"istio-${CB_VERSION}"/install/kubernetes/helm/istio/README.md.bak
echo "Done replacing pre-released charts with released charts for istio.io repo"
fi

eval "$zip_cmd" "${tarball_name}" "istio-${CB_VERSION}"
sha256sum "${tarball_name}" > "${tarball_name}.sha256"
Expand Down

0 comments on commit ee90930

Please sign in to comment.