Fix docs and add missing version input (#5)

Signed-off-by: Reinhard Naegele <unguiculus@gmail.com>
This commit is contained in:
Reinhard Nägele
2019-12-09 21:14:18 +01:00
committed by GitHub
parent be9c1b2453
commit 590e9dd0aa
4 changed files with 18 additions and 10 deletions
+4
View File
@@ -27,6 +27,10 @@ main() {
args=(--owner "$owner" --repo "$repo")
args+=(--charts-dir "${INPUT_CHARTS_DIR?Input 'charts_dir' is required}")
if [[ -n "${INPUT_VERSION:-}" ]]; then
args+=(--version "${INPUT_VERSION}")
fi
if [[ -n "${INPUT_CHARTS_REPO_URL:-}" ]]; then
args+=(--charts-repo-url "${INPUT_CHARTS_REPO_URL}")
fi