xinrong-meng commented on code in PR #40357:
URL: https://github.com/apache/spark/pull/40357#discussion_r1131900698


##########
dev/create-release/release-tag.sh:
##########
@@ -122,6 +122,12 @@ if ! is_dry_run; then
   git push origin $RELEASE_TAG
   if [[ $RELEASE_VERSION != *"preview"* ]]; then
     git push origin HEAD:$GIT_BRANCH

Review Comment:
   When `git push origin HEAD:$GIT_BRANCH` doesn't succeed, the PR proposes to 
call out the exact error instead of failing silently. 
   In addition, the reason why we have to `| grep origin` is that, `git branch 
-r --contains tags/_d_tag` exits 0 even if `git push origin HEAD:$GIT_BRANCH` 
doesn't execute.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to