Skip to content
Snippets Groups Projects
Commit 79192a48 authored by Thibault Allenet's avatar Thibault Allenet
Browse files

fix : var set as string

parent 53417a5d
No related branches found
No related tags found
No related merge requests found
...@@ -93,15 +93,16 @@ ...@@ -93,15 +93,16 @@
# - .retrieve:artifacts: # - .retrieve:artifacts:
script: script:
- set -x - set -x
- echo "$CI_PROJECT_NAME"
- > - >
if [[ $CI_PROJECT_NAME == "aidge_backend_cpu" ]] || \ if [[ "$CI_PROJECT_NAME" == "aidge_backend_cpu" ]] || \
[[ $CI_PROJECT_NAME == "aidge_backend_opencv" ]]; then [[ "$CI_PROJECT_NAME" == "aidge_backend_opencv" ]]; then
DEPS_NAMES=("aidge_core") DEPS_NAMES=("aidge_core")
elif [[ $CI_PROJECT_NAME == "aidge_backend_cuda" ]] || \ elif [[ "$CI_PROJECT_NAME" == "aidge_backend_cuda" ]] || \
[[ $CI_PROJECT_NAME == "aidge_learning" ]] || \ [[ "$CI_PROJECT_NAME" == "aidge_learning" ]] || \
[[ $CI_PROJECT_NAME == "aidge_export_cpp" ]] || \ [[ "$CI_PROJECT_NAME" == "aidge_export_cpp" ]] || \
[[ $CI_PROJECT_NAME == "aidge_onnx" ]] || \ [[ "$CI_PROJECT_NAME" == "aidge_onnx" ]] || \
[[ $CI_PROJECT_NAME == "aidge_quantization" ]]; then [[ "$CI_PROJECT_NAME" == "aidge_quantization" ]]; then
DEPS_NAMES=("aidge_core" "aidge_backend_cpu") DEPS_NAMES=("aidge_core" "aidge_backend_cpu")
else else
echo "Warning: The project $CI_PROJECT_NAME has no dependency." echo "Warning: The project $CI_PROJECT_NAME has no dependency."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment