unintended *.kicad_pro push #351
This commit is contained in:
parent
86da826ab2
commit
5ea98c6d13
|
@ -1,9 +1,14 @@
|
|||
#!/bin/bash
|
||||
git config --local user.email "action@github.com"
|
||||
git config --local user.name "GitHub create-board Action"
|
||||
echo "Status 1/3"
|
||||
git status
|
||||
git reset HEAD *.kicad_pro
|
||||
echo "Status 2/3"
|
||||
git status
|
||||
git add gerber/*
|
||||
git add boards/*
|
||||
git reset HEAD *.kicad_pro
|
||||
echo "Status 3/3"
|
||||
git status
|
||||
OUT=$(git commit -am "[skip actions] Auto-generated board" 2>&1) || echo "commit failed, finding out why"
|
||||
if echo "$OUT" | grep 'nothing to commit' || echo "$OUT" | grep 'nothing added to commit'; then
|
||||
|
|
Loading…
Reference in New Issue