KiBot/tests/yaml_samples/sch_replace_1.kibot.yaml
Salvador E. Tropea 6a691cf362 Added pre-flight to replace in the PCB
- Also added some constrains to what can be substituted to avoid
  corrupting the files.
2021-12-03 16:52:04 -03:00

12 lines
316 B
YAML

# Example KiBot config file
kibot:
version: 1
preflight:
sch_replace:
date_command: date -d @`git log -1 --format='%at' -- $KIBOT_SCH_NAME` +%Y-%m-%d_%H-%M-%S
replace_tags:
- tag: "Comment4"
command: git log -1 --format="%h" $KIBOT_SCH_NAME
before: "Git_hash:'"
after: "'"