Skip to content

Commit 452473d

Browse files
authored
feat: tag PCB with 2 digits out of 3 (#27)
1 parent bac3768 commit 452473d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Hardware/OpenMowerMainboard/OpenMowerMainboard.kibot.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ preflight:
66
run_drc: true
77
set_text_variables:
88
- name: 'git_version'
9-
command: 'git describe --tags'
9+
# Replace n.m.i with n.m."x"
10+
command: >
11+
git describe --tags | sed -E 's/^(v[0-9]+\.[0-9]+)\.([0-9]+)/\1.x/'
1012
update_xml: true
1113

1214
filters:

0 commit comments

Comments
 (0)