Skip to content

Commit

Permalink
fix(push): remove default push (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
powerfooI authored Apr 25, 2024
1 parent a52b11d commit 6ab567f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ update_index() {
return
fi

local args=(-o "$owner" -r "$repo" --push)
local args=(-o "$owner" -r "$repo")
if [[ -n "$config" ]]; then
args+=(--config "$config")
fi
Expand All @@ -383,6 +383,8 @@ update_index() {
fi
if [[ -n "$pr" ]]; then
args+=(--pr)
else
args+=(--push)
fi

echo 'Updating charts repo index...'
Expand Down

0 comments on commit 6ab567f

Please sign in to comment.