We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d3699d commit 898b016Copy full SHA for 898b016
docker/test/fuzzer/run-fuzzer.sh
@@ -24,7 +24,10 @@ BASE_REF=${BASE_REF:="master"}
24
function git_clone_with_retry
25
{
26
for _ in 1 2 3 4; do
27
- if git clone --depth 1 https://github.com/Altinity/ClickHouse.git --branch "${BASE_REF}" -- "$1" 2>&1 | ts '%Y-%m-%d %H:%M:%S';then
+ # Strip refs/tags/ prefix if present, as --branch expects just the tag/branch name
28
+ local ref_name="${BASE_REF#refs/tags/}"
29
+
30
+ if git clone --depth 1 https://github.com/Altinity/ClickHouse.git --branch "${ref_name}" -- "$1" 2>&1 | ts '%Y-%m-%d %H:%M:%S';then
31
return 0
32
else
33
sleep 0.5
0 commit comments