upload.sh: fix push failed

This commit is contained in:
Yifan Gao 2017-01-24 02:50:53 +06:00
parent 33b6e6a292
commit 6673e42eff

View File

@ -3,4 +3,4 @@
git remote set-url origin "https://${GITHUB_USERNAME}:${GITHUB_PASSWORD}@github.com/gaoyifan/china-operator-ip.git"
git add result
git commit -m "update `date +%Y-%m-%d`"
git push origin ${TRAVIS_BRANCH}
git push origin $(git rev-parse HEAD):${TRAVIS_BRANCH}