Skip to content

Commit

Permalink
Fixed: skip existing check
Browse files Browse the repository at this point in the history
Signed-off-by: Valeriano Manassero <14011549+valeriano-manassero@users.noreply.github.com>
  • Loading branch information
valeriano-manassero committed Aug 9, 2023
1 parent 4984371 commit 420293c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions cr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -302,12 +302,10 @@ release_charts() {
if [[ -n "$config" ]]; then
args+=(--config "$config")
fi
if [[ -n "$skip_existing" ]]; then
if [[ -n "$packages_with_index" ]]; then
args+=(--packages-with-index --push --skip-existing)
elif [[ -n "$skip_existing" ]]; then
args+=(--skip-existing)
fi
if [[ -n "$packages_with_index" ]]; then
args+=(--packages-with-index --push --skip-existing)
elif [[ -n "$skip_existing" ]]; then
args+=(--skip-existing)
fi
if [[ "$mark_as_latest" = false ]]; then
args+=(--make-release-latest=false)
Expand Down

0 comments on commit 420293c

Please sign in to comment.