fix packages_with_index flag (#172)

Signed-off-by: cpanato <ctadeu@gmail.com>
This commit is contained in:
Carlos Tadeu Panato Junior
2023-10-31 08:21:00 +01:00
committed by GitHub
parent ed43eb3036
commit d17b190701
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -311,7 +311,7 @@ release_charts() {
if [[ -n "$config" ]]; then
args+=(--config "$config")
fi
if [[ -n "$packages_with_index" ]]; then
if [[ "$packages_with_index" = true ]]; then
args+=(--packages-with-index --push --skip-existing)
elif [[ -n "$skip_existing" ]]; then
args+=(--skip-existing)
@@ -332,7 +332,7 @@ update_index() {
if [[ -n "$config" ]]; then
args+=(--config "$config")
fi
if [[ -n "$packages_with_index" ]]; then
if [[ "$packages_with_index" = true ]]; then
args+=(--packages-with-index --index-path .)
fi
if [[ -n "$pages_branch" ]]; then