Add KIBOT_VAR_name to fabrication jobs

Ensures part number text variable is set correctly on silkscreen.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Tim Hadwen
2026-02-02 22:16:06 +10:00
parent 366165ceb6
commit 6894ca56c7

View File

@@ -148,10 +148,12 @@ run_drc:
# Ensure submodules are initialized (needed for gitlab-ci-local) # Ensure submodules are initialized (needed for gitlab-ci-local)
git submodule update --init --recursive 2>/dev/null || true 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="${VERSION}"
export KIBOT_VAR_rev_pcb="${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 version variables set to: $VERSION"
echo "KiBot name variable set to: $KIBOT_VAR_name"
# Setup user config # Setup user config
USER_FILE="$CI_PROJECT_DIR/.gitlab/configs/blank.kibot.yaml" USER_FILE="$CI_PROJECT_DIR/.gitlab/configs/blank.kibot.yaml"