File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ parse_inputs() {
4343}
4444
4545merge_operators () {
46+ read -p " Ask someone to approve all of the operator PRs, then press Enter"
4647 while IFS=" " read -r operator || [ -n " $operator " ]; do
4748 echo " Operator: $operator "
4849 if $PUSH ; then
@@ -58,7 +59,6 @@ merge_operators() {
5859 echo " Reviewing..."
5960 # TODO (@NickLarsenNZ): Check if the review is merged, else loop the following
6061 # TODO (@NickLarsenNZ): Allow review if the PR author is not the current `gh` user, otherwise wait.
61- read -p " Ask someone to approve the PR, then press Enter"
6262 # gh pr review "${PR_BRANCH}" --approve -R stackabletech/"${operator}"
6363 echo " Merging..."
6464 gh pr merge " ${PR_BRANCH} " --delete-branch --squash -R stackabletech/" ${operator} "
Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ tag_products() {
1717 cd " $TEMP_RELEASE_FOLDER /$DOCKER_IMAGES_REPO "
1818
1919 # the PR branch should already exist
20- git switch " $RELEASE_BRANCH "
20+ git switch " $RELEASE_BRANCH " && git pull
2121 git tag -sm " release $RELEASE_TAG " " $RELEASE_TAG "
2222 push_branch
2323}
2424
2525tag_operators () {
2626 while IFS=" " read -r operator || [ -n " $operator " ]; do
2727 cd " ${TEMP_RELEASE_FOLDER} /${operator} "
28- git switch " $RELEASE_BRANCH "
28+ git switch " $RELEASE_BRANCH " && git pull
2929 git tag -sm " release $RELEASE_TAG " " $RELEASE_TAG "
3030 push_branch
3131 done < <( yq ' ... comments="" | .operators[] ' " $INITIAL_DIR " /release/config.yaml)
You can’t perform that action at this time.
0 commit comments