Skip to content

Commit

Permalink
wip(charts): updated .travis.pack #281 [pack]
Browse files Browse the repository at this point in the history
  • Loading branch information
cnouguier committed Feb 4, 2022
1 parent 0ee5c4d commit cd55b79
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .travis.pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@ helm repo add bitnami https://charts.bitnami.com/bitnami

# Define the chart list
CHARTS=$ONLY_CHART
if [ -z "$CHARTS" ]; then
if [ -z "$ONLY_CHART" ]; then
CHARTS=`ls charts`
OPTIONS="--version 0.0.0-dev"
elif
CHARTS=$ONLY_CHART
OPTIONS=""
fi

# Pack the charts
Expand All @@ -27,7 +31,7 @@ for CHART in `ls charts`; do
if [ $? != 0 ]; then
exit 1
fi
helm package charts/$CHART -d repo --version 0.0.0-dev
helm package charts/$CHART -d repo $OPTIONS
if [ $? != 0 ]; then
exit 1
fi
Expand Down

0 comments on commit cd55b79

Please sign in to comment.