From 4ce55bfe1ea21d334ceba5e34f02bcc1f34e0103 Mon Sep 17 00:00:00 2001 From: Tim Jones Date: Tue, 7 Nov 2017 11:04:00 +0000 Subject: [PATCH] Allow chart to be a directory as well as a tgz file (#25) --- assets/out | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/out b/assets/out index 5cda512..f0cfdca 100755 --- a/assets/out +++ b/assets/out @@ -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