Skip to content

Commit

Permalink
script: reorder and rename ops for simplicity
Browse files Browse the repository at this point in the history
  • Loading branch information
bakerboy448 committed Jun 28, 2024
1 parent 98e4d52 commit 1cae3a1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions scripts/indexer-sync-v2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ handle_branch_reset() {
fi
}

commit_and_push() {
pull_cherry_and_merge() {
log "INFO" "Reviewing Commits"
existing_message=$(git log --format=%B -n1)
existing_message_ln1=$(echo "$existing_message" | awk 'NR==1')
Expand Down Expand Up @@ -310,9 +310,6 @@ commit_and_push() {
handle_new_indexers
handle_modified_indexers
handle_backporting_indexers

cleanup_and_commit
push_changes
}

resolve_conflicts() {
Expand Down Expand Up @@ -572,7 +569,8 @@ main() {
configure_git
check_branches
handle_branch_reset
commit_and_push
pull_cherry_and_merge
cleanup_and_commit
push_changes
}

Expand Down

0 comments on commit 1cae3a1

Please sign in to comment.