Updated sch, mech, pcb_main, and pos configs to properly check for KIBOT_VAR_rev before falling back to git describe. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
18 lines
527 B
YAML
18 lines
527 B
YAML
# Example KiPlot config file
|
|
kibot:
|
|
version: 1
|
|
|
|
import:
|
|
- file: default.kibot.yaml
|
|
outputs: ['neo_position']
|
|
|
|
preflight:
|
|
erc: false
|
|
update_xml: false
|
|
drc: false
|
|
set_text_variables:
|
|
- name: 'rev'
|
|
command: 'if [ -n "$KIBOT_VAR_rev" ]; then echo $KIBOT_VAR_rev; else git describe --tags 2>/dev/null || echo $CI_COMMIT_SHORT_SHA; fi'
|
|
- name: 'rev_pcb'
|
|
command: 'if [ -n "$KIBOT_VAR_rev_pcb" ]; then echo $KIBOT_VAR_rev_pcb; else git describe --tags 2>/dev/null || echo $CI_COMMIT_SHORT_SHA; fi'
|