As of the examples provided with KiCad, it would be useful to be able to replace a given string in the board (text F.SilkS or other) with the commit sha or tag.
for draw in pcb.m_Drawings:
if draw.GetClass() == 'PTEXT':
if draw.GetText() == "$sha$":
draw.SetText(var_sha)
As of the examples provided with KiCad, it would be useful to be able to replace a given string in the board (text F.SilkS or other) with the commit sha or tag.
Same with tag if it is a tag event.