Merge pull request #310 from chuckwagoncomputing/board-name

Board name
This commit is contained in:
rusefillc 2023-07-12 20:56:35 -07:00 committed by GitHub
commit dd391a7e94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 7 deletions

View File

@ -21,7 +21,7 @@ jobs:
- name: Generate Gerber Files
run: |
bash hellen-one/kicad/bin/export.sh hellen88bmw
bash hellen-one/kicad/bin/export.sh
- name: 1. Build Docker
run: |

View File

@ -1,14 +1,11 @@
#!/bin/env bash
if [ -z "$1" ]; then
echo "Pass file name without extension"
exit 1
fi
# Get path of script so we can call python scripts
DIR=$(dirname $0)
IN="$1"
. revision.txt
IN="$BOARD_PREFIX$BOARD_SUFFIX"
# Copy to backup so we can modify before exporting
cp "$IN.kicad_pcb" "$IN.kicad_pcb.bak"