Skip to content

Commit

Permalink
feat: tag PCB with 2 digits out of 3 (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfvermut authored Aug 8, 2022
1 parent bac3768 commit 452473d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Hardware/OpenMowerMainboard/OpenMowerMainboard.kibot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ preflight:
run_drc: true
set_text_variables:
- name: 'git_version'
command: 'git describe --tags'
# Replace n.m.i with n.m."x"
command: >
git describe --tags | sed -E 's/^(v[0-9]+\.[0-9]+)\.([0-9]+)/\1.x/'
update_xml: true

filters:
Expand Down

0 comments on commit 452473d

Please sign in to comment.