diff --git a/kibot-ci.yml b/kibot-ci.yml index 166a814..8c5b0f1 100644 --- a/kibot-ci.yml +++ b/kibot-ci.yml @@ -148,10 +148,12 @@ run_drc: # Ensure submodules are initialized (needed for gitlab-ci-local) git submodule update --init --recursive 2>/dev/null || true - # Export version for KiBot text variable injection + # Export version and name for KiBot text variable injection export KIBOT_VAR_rev="${VERSION}" export KIBOT_VAR_rev_pcb="${VERSION}" + export KIBOT_VAR_name=$(echo "${PROJECT_NAME}" | cut -d"-" -f1) echo "KiBot version variables set to: $VERSION" + echo "KiBot name variable set to: $KIBOT_VAR_name" # Setup user config USER_FILE="$CI_PROJECT_DIR/.gitlab/configs/blank.kibot.yaml"