Skip to content

Commit

Permalink
fix client version
Browse files Browse the repository at this point in the history
  • Loading branch information
hmagph committed Jan 28, 2019
1 parent 6c8e9b3 commit 1977caf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/check_predeploy_helm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ echo "=========================================================="
echo "CHECKING HELM CLIENT VERSION"
if [ -z "${HELM_VERSION}" ]; then
# use locally installed version of Helm
HELM_VERSION=$( helm version --client | grep SemVer: | sed "s/^.*SemVer:\"v\([0-9.]*\).*/\1/" )
echo -e "No required Helm version specified, defaulting to ${HELM_VERSION} found locally"
LOCAL_VERSION=$( helm version --client | grep SemVer: | sed "s/^.*SemVer:\"v\([0-9.]*\).*/\1/" )
echo -e "No required Helm version specified, defaulting to ${LOCAL_VERSION} found locally"
else
LOCAL_VERSION==$( helm version --client | grep SemVer: | sed "s/^.*SemVer:\"v\([0-9.]*\).*/\1/" )
if [ "${HELM_VERSION}" = "${LOCAL_VERSION}" ]; then
Expand Down
4 changes: 2 additions & 2 deletions scripts/deploy_helm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ echo "=========================================================="
echo "CHECKING HELM CLIENT VERSION"
if [ -z "${HELM_VERSION}" ]; then
# use locally installed version of Helm
HELM_VERSION=$( helm version --client | grep SemVer: | sed "s/^.*SemVer:\"v\([0-9.]*\).*/\1/" )
echo -e "No required Helm version specified, defaulting to ${HELM_VERSION} found locally"
LOCAL_VERSION=$( helm version --client | grep SemVer: | sed "s/^.*SemVer:\"v\([0-9.]*\).*/\1/" )
echo -e "No required Helm version specified, defaulting to ${LOCAL_VERSION} found locally"
else
LOCAL_VERSION==$( helm version --client | grep SemVer: | sed "s/^.*SemVer:\"v\([0-9.]*\).*/\1/" )
if [ "${HELM_VERSION}" = "${LOCAL_VERSION}" ]; then
Expand Down

0 comments on commit 1977caf

Please sign in to comment.