build: update CSI_IMAGE_VERSION in deploy.sh

update deploy.sh to use correct CSI_IMAGE_VERSION
from the build.env.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2020-12-09 17:42:14 +05:30 committed by Madhu Rajanna
parent 09fac4d9e2
commit 68adacad36

View File

@ -2,11 +2,12 @@
# shellcheck source=scripts/build_step.inc.sh
source "$(dirname "${0}")/scripts/build_step.inc.sh"
source "$(dirname "${0}")/build.env"
push_helm_charts() {
PACKAGE=$1
CHARTDIR=$2
VERSION=${ENV_CSI_IMAGE_VERSION//v/} # Set version (without v prefix)
VERSION=${CSI_IMAGE_VERSION//v/} # Set version (without v prefix)
# update information in Chart.yaml if the branch is not master
if [ "$TRAVIS_BRANCH" != "master" ]; then