Skip to content

Commit

Permalink
default app version if not provided
Browse files Browse the repository at this point in the history
  • Loading branch information
crswty committed Nov 5, 2019
1 parent 9237cbd commit 5fda745
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions deployment/helm/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,10 @@
#
set -e

VERSION="$1-beta"
APP_VERSION=$1

APP_VERSION=$1
if [ $# -lt 1 ]; then
echo "usage: ./build.sh <version>"
echo "Builds the chart writing the given version as the app and chart version"
exit 1
APP_VERSION="dev"
fi

sed -i.bak s/appVersion:.*/appVersion:\ $APP_VERSION/ Chart.yaml
Expand Down

0 comments on commit 5fda745

Please sign in to comment.