Skip to content

Commit

Permalink
Fix non zero exit code
Browse files Browse the repository at this point in the history
`diff` returns non-zero exit code when there is a diff. We should not
fail on this.
  • Loading branch information
rail committed Jan 9, 2024
1 parent 0dde094 commit 16eeb1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ curl -fsSL "https://s3.amazonaws.com/${charts_hostname}/index.yaml" > "${artifac
# Build the charts
$HELM_INSTALL_DIR/helm package cockroachdb --destination "${artifacts_dir}"
$HELM_INSTALL_DIR/helm repo index "${artifacts_dir}" --url "https://${charts_hostname}" --merge "${artifacts_dir}/old-index.yaml"
diff -u "${artifacts_dir}/old-index.yaml" "${artifacts_dir}/index.yaml"
diff -u "${artifacts_dir}/old-index.yaml" "${artifacts_dir}/index.yaml" || true

0 comments on commit 16eeb1f

Please sign in to comment.