update 3
This commit is contained in:
parent
4437abc01d
commit
5407421531
1 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,9 @@ if [ ! -d .git ]; then
|
||||||
[ -e version ] && rm version
|
[ -e version ] && rm version
|
||||||
git add .gitignore '*' '**/*'
|
git add .gitignore '*' '**/*'
|
||||||
else
|
else
|
||||||
git add -u || echo "nothing new?"
|
git add -u
|
||||||
|
changes="$(git status --porcelain | wc -l)"
|
||||||
|
[ "$changes" -eq 0 ] && exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -s version ]; then
|
if [ -s version ]; then
|
||||||
|
|
Loading…
Reference in a new issue