From f29a79fc86a3135cd8d1fb389f81c439cb92eb50 Mon Sep 17 00:00:00 2001 From: Jan Kiene Date: Fri, 14 Mar 2025 14:11:33 +0100 Subject: [PATCH] make git check for branch on remote as well in CI container, sometimes the reference branch was not locally available and fetching did not bring it in scope... --- ci/get_float_ref_branch_name.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/get_float_ref_branch_name.sh b/ci/get_float_ref_branch_name.sh index 0d791b6f5c..6c183bfb48 100755 --- a/ci/get_float_ref_branch_name.sh +++ b/ci/get_float_ref_branch_name.sh @@ -50,7 +50,7 @@ if ! [[ "$branchname" =~ $BASOP_PATTERN ]]; then fi float_ref_branchname="${branchname/basop/ref}" -git_result=$(git branch --list "$float_ref_branchname") +git_result=$(git branch -av --list "$float_ref_branchname") # If the branch does not exist, default to "float-pc" if [[ -z "$git_result" ]]; then -- GitLab