Skip to content

Commit 7a5c9ca

Browse files
committed
Use github ref - git describe doesn't seem to work.
1 parent 7b81e63 commit 7a5c9ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/kicad-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
uses: actions/checkout@v2
1515
- name: Set version number # Replace [Uncontrolled] with actual tag
1616
run: |
17-
sed -i "s~\[Uncontrolled\]~`git describe`~g" Kicad/*.sch Kicad/*.kicad_pcb
17+
sed -i "s~\[Uncontrolled\]~${{ github.ref }}~g" Kicad/*.sch Kicad/*.kicad_pcb
1818
- name: Build project # This would actually build your project, using zip for an example artifact
1919
uses: nerdyscout/[email protected]
2020
with:

0 commit comments

Comments
 (0)