mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 06:47:30 +08:00
Fix load path
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
. ../functions/libkubeval.sh
|
||||
repo_path="$(git rev-parse --show-toplevel)"
|
||||
current_branch="$(git rev-parse --abbrev-ref HEAD)"
|
||||
origin_commit="$(git rev-parse --short "$(git merge-base master "$current_branch")")"
|
||||
files_to_push="$(git diff --name-only "$origin_commit")"
|
||||
|
||||
# shellcheck source=../functions/libkubeval.sh
|
||||
. "${repo_path}/functions/libkubeval.sh"
|
||||
|
||||
readonly current_branch="$(git rev-parse --abbrev-ref HEAD)"
|
||||
readonly origin_commit="$(git rev-parse --short "$(git merge-base master "$current_branch")")"
|
||||
readonly files_to_push="$(git diff --name-only "$origin_commit")"
|
||||
failed=0
|
||||
|
||||
for chart_name in $( cut -d'/' -f1,2 <<< "$files_to_push" | uniq ); do
|
||||
|
||||
Reference in New Issue
Block a user