Skip to content

Commit 7b81e63

Browse files
committed
Set version number in Kicad files.
1 parent c95b8df commit 7b81e63

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/kicad-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
steps:
1313
- name: Checkout code
1414
uses: actions/checkout@v2
15+
- name: Set version number # Replace [Uncontrolled] with actual tag
16+
run: |
17+
sed -i "s~\[Uncontrolled\]~`git describe`~g" Kicad/*.sch Kicad/*.kicad_pcb
1518
- name: Build project # This would actually build your project, using zip for an example artifact
1619
uses: nerdyscout/[email protected]
1720
with:

0 commit comments

Comments
 (0)