Skip to content

Commit

Permalink
add silk tag string
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarrod Tuma authored and Jarrod Tuma committed Sep 11, 2024
1 parent 52819e6 commit 8bae880
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion elec/pocketPSU_elec_main/pocketPSU.kibot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ preflight:
# The revision will be the short git hash
# We use ${git_hash} for the REV field in the worksheet (frame)
- name: 'git_hash'
command: 'git log -1 --format="%h_%(describe:tags)"'
command: 'git log -1 --format="%h"'
before: 'Git:'
- name: 'git_tag'
command: 'git log -1 --format="%(describe:tags)"'
before: 'Git:'
# Coherent date and time for the schematic and PCB
# This will be the time stamp of the files generation, not the commit times
Expand Down
2 changes: 1 addition & 1 deletion elec/pocketPSU_elec_main/pocketPSU_elec_main.kicad_pcb
Original file line number Diff line number Diff line change
Expand Up @@ -23838,7 +23838,7 @@
(justify left bottom)
)
)
(gr_text "pocketPSU ${git_hash}"
(gr_text "pocketPSU ${git_tag}"
(at 101 112.4 90)
(layer "F.SilkS")
(uuid "8c783133-f0b4-4ccd-9317-9557f3df2d28")
Expand Down

0 comments on commit 8bae880

Please sign in to comment.