From 6894ca56c7d9b4d1adaf7c8467787ab0bcf2045e Mon Sep 17 00:00:00 2001 From: Tim Hadwen Date: Mon, 2 Feb 2026 22:16:06 +1000 Subject: [PATCH] Add KIBOT_VAR_name to fabrication jobs Ensures part number text variable is set correctly on silkscreen. Co-Authored-By: Claude Opus 4.5 --- kibot-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"