Skip to content

Commit

Permalink
Added updates.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
bendikro committed Oct 5, 2014
1 parent 363cf6b commit 6c2380d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env bash
git checkout develop
git remote update
ret=`git diff @{u}` # Diff the tracking branch
if [ -z "$ret" ]; then
git checkout deluge-github-page
exit
fi
git pull
tox -e testcoverage-html
git checkout deluge-github-page
rm -rf htmlcoverage
cp -r docs/build/htmlcoverage htmlcoverage
git add htmlcoverage/
git commit -m "Updated htmlcoverage" -a
git push deluge-gh-page-remote deluge-github-page:master
rm -rf docs/build
git checkout deluge-github-page

0 comments on commit 6c2380d

Please sign in to comment.