Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Commit

Permalink
Allow chart to be a directory as well as a tgz file (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Jones authored and msiegenthaler committed Nov 7, 2017
1 parent d2440cb commit 4ce55bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/out
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ else
release=$(jq -r '.source.release // ""' < $payload)
fi

if [[ "$chart" == *.tgz ]]; then
# it's a file
if [[ "$chart" == *.tgz ]] || [[ -d "$source/$chart" ]]; then
# it's a file/directory
chart_full="$source/$chart"
version=""
else
Expand Down

0 comments on commit 4ce55bf

Please sign in to comment.