diff --git a/scripts/package.sh b/scripts/package.sh index 9da2853..65b2454 100755 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -45,7 +45,7 @@ else mojaloop/chart-service mojaloop/chart-admin mojaloop/account-lookup-service - # Main Mojaloop Helm Chart + # Main Mojaloop Helm Chart mojaloop/mojaloop ) fi @@ -63,7 +63,7 @@ do # Development versions can be found with `helm search --devel`. Additionally, it is # possible to specify a development version in requirements.yaml. CURRENT_VERSION=$(grep '^version: [0-9]\+\.[0-9]\+\.[0-9]\+\s*$' "$chart/Chart.yaml" | cut -d' ' -f2) - NEW_VERSION="$CURRENT_VERSION-$BUILD_NUM.${GIT_SHA1:0:7}" + NEW_VERSION="$CURRENT_VERSION-$BUILD_NUM-${GIT_SHA1:0:7}" helm package -u -d ./repo "$chart" --version="$NEW_VERSION" set +u else # we're probably running in CI, this is a job triggered by a tag/release