update 7
This commit is contained in:
parent
b6de660e98
commit
c7c267e994
1 changed files with 4 additions and 4 deletions
|
@ -3,10 +3,10 @@ set -e
|
||||||
alias db="dropbox_uploader"
|
alias db="dropbox_uploader"
|
||||||
|
|
||||||
rm -r lib
|
rm -r lib
|
||||||
db download py/lib >/dev/null
|
db -q download py/lib
|
||||||
|
|
||||||
if [ ! -d .git ]; then
|
if [ ! -d .git ]; then
|
||||||
git init >/dev/null
|
git -q init
|
||||||
[ -e version ] && rm version
|
[ -e version ] && rm version
|
||||||
git add .gitignore '*' '**/*'
|
git add .gitignore '*' '**/*'
|
||||||
else
|
else
|
||||||
|
@ -24,6 +24,6 @@ fi
|
||||||
let version++ || true # -e mode doesn't like this normally
|
let version++ || true # -e mode doesn't like this normally
|
||||||
echo $version > version
|
echo $version > version
|
||||||
|
|
||||||
git commit -m "update $version" . >/dev/null
|
git commit -qm "update $version" . >/dev/null
|
||||||
|
|
||||||
git remote | grep -Fxq origin && git push origin master
|
git remote | grep -Fxq origin && git push -q origin master
|
||||||
|
|
Loading…
Reference in a new issue