reset kicad_pro file

This commit is contained in:
David Holdeman 2023-07-12 23:00:02 -05:00
parent dd391a7e94
commit 4f721588cb
No known key found for this signature in database
GPG Key ID: DBEE6FCFCC9DD9A6
1 changed files with 17 additions and 17 deletions

View File

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
git config --local user.email "action@github.com" git config --local user.email "action@github.com"
git config --local user.name "GitHub create-board Action" git config --local user.name "GitHub create-board Action"
git add boards/* git add boards/*
git reset HEAD *.kicad_pro
git status git status
OUT=$(git commit -am "[skip actions] Auto-generated board" 2>&1) || echo "commit failed, finding out why" OUT=$(git commit -am "[skip actions] Auto-generated board" 2>&1) || echo "commit failed, finding out why"
if echo "$OUT" | grep 'nothing to commit'; then if echo "$OUT" | grep 'nothing to commit'; then