Skip to content

Commit 241c288

Browse files
committed
[SPARK-26554][BUILD] Update release-util.sh to avoid GitBox fake 200 headers
1 parent 9d8e9b3 commit 241c288

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/create-release/release-util.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function fcreate_secure {
7373
}
7474

7575
function check_for_tag {
76-
curl -s --head --fail "$ASF_REPO_WEBUI;a=commit;h=$1" >/dev/null
76+
! curl -s --fail "$ASF_REPO_WEBUI;a=commit;h=$1" | grep '404 Not Found' > /dev/null
7777
}
7878

7979
function get_release_info {

0 commit comments

Comments
 (0)