Skip to content

Commit

Permalink
build: update CSI_IMAGE_VERSION in deploy.sh
Browse files Browse the repository at this point in the history
update deploy.sh to use correct CSI_IMAGE_VERSION
from the build.env.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
  • Loading branch information
Madhu-1 committed Dec 9, 2020
1 parent 09fac4d commit 68adaca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 68adaca

Please sign in to comment.