From c269e8eceec269009218c1391fefea8279b9d032 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20KUBLER?= <gregoire.kubler@proton.me> Date: Wed, 20 Mar 2024 17:01:54 +0100 Subject: [PATCH] fix : bash ? --- .gitlab/ci/build.gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab/ci/build.gitlab-ci.yml b/.gitlab/ci/build.gitlab-ci.yml index 4d8b2e81..f0d5e57e 100644 --- a/.gitlab/ci/build.gitlab-ci.yml +++ b/.gitlab/ci/build.gitlab-ci.yml @@ -28,11 +28,11 @@ build:ubuntu_cpp: fi elif [ $(curl -s -o /dev/null -w "%{http_code}" "https://gitlab.eclipse.org/eclipse/aidge/$DEPENDENCY_NAME/-/tree/$CI_COMMIT_REF_NAME") -ne 404 ]; then # Pulling from branch with same name - BRANCH_TO_PULL=${CI_COMMIT_REF_NAME} + BRANCH_TO_PULL=$CI_COMMIT_REF_NAME fi - set +x - echo "Pulling from branch :" - - echo "${BRANCH_TO_PULL}" + # - echo "$BRANCH_TO_PULL" # Check group namespace is valid, if it is then we are in the official project(aidge group id=6437), otherwise we pull from the fork - set -x -- GitLab