Replies: 1 comment 1 reply
-
|
Hi @Handkep ! Usually KiCad variables are stored in the project, and they are replaced by KiCad, when you load the files and use them. This is the normal mechanism. The PCB/Schematic isn't changed. The old (and deprecated) Do you really need to replace the values? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using KiBot with the following configuration:
Gitlab CI:
[ -f *.kicad_pcb ] && kibot -c ci.kibot.yaml --verboseMy goal is to have the variables defined in preflight (e.g., GIT_VERSION) appear directly within the KiCad project files (.kicad_sch, .kicad_pcb) that are copied to the ../Exports/kicad directory.
However, after running KiBot in an Gitlab CI/CD environment, the original files are simply copied without any modification or variable substitution. The GIT_VERSION placeholder is not replaced with the actual git tag.
Is there a specific KiBot output type or a configuration option that allows for the automatic modification of the source KiCad files with these variables? Or is this functionality not intended for copy_files and is only available for other output types like pdf_sch_print?
Any clarification on this would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions