dongjoon-hyun commented on a change in pull request #23476:
[SPARK-26554][BUILD] Update `release-util.sh` to avoid GitBox fake 200 headers
URL: https://github.com/apache/spark/pull/23476#discussion_r245574551
##########
File path: dev/create-release/release-util.sh
##########
@@ -73,7 +73,9 @@ function fcreate_secure {
}
function check_for_tag {
- curl -s --head --fail "$ASF_REPO_WEBUI;a=commit;h=$1" >/dev/null
+ # Check HTML body messages instead of header status codes. Apache GitBox
returns
+ # a header with `200 OK` status code for both existing and non-existing tag
URLs
Review comment:
Yes. So for a `SPARK-26554` follow-up PR, I'll focus only this
`check_for_tag` function at this time. Thank you for clarification.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]