mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-14 02:10:21 +00:00
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>
(cherry picked from commit 68adacad36
)
This commit is contained in:
parent
74930819dc
commit
997f9283f3
@ -2,11 +2,12 @@
|
|||||||
|
|
||||||
# shellcheck source=scripts/build_step.inc.sh
|
# shellcheck source=scripts/build_step.inc.sh
|
||||||
source "$(dirname "${0}")/scripts/build_step.inc.sh"
|
source "$(dirname "${0}")/scripts/build_step.inc.sh"
|
||||||
|
source "$(dirname "${0}")/build.env"
|
||||||
|
|
||||||
push_helm_charts() {
|
push_helm_charts() {
|
||||||
PACKAGE=$1
|
PACKAGE=$1
|
||||||
CHARTDIR=$2
|
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
|
# update information in Chart.yaml if the branch is not master
|
||||||
if [ "$TRAVIS_BRANCH" != "master" ]; then
|
if [ "$TRAVIS_BRANCH" != "master" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user