Permalink
Browse files

Optimized the post build script and fixed the root files not being co…

…mmitted
  • Loading branch information...
LaurentGoderre committed Jan 24, 2013
1 parent 5dfb56c commit ea2ec03a1a58616d64c44cb23804e8d1b4eb113f
Showing with 2 additions and 1 deletion.
  1. +2 −1 build/post_build.sh
View
@@ -19,7 +19,7 @@ if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_REPO_SLUG" == "wet-boew/
cp *.md $HOME/temp_wet-boew
cp *.txt $HOME/temp_wet-boew
git fetch -n upstream > /dev/null
git fetch -qn upstream > /dev/null
#Update working example
if [ "$TRAVIS_BRANCH" == "master" ]; then
@@ -69,6 +69,7 @@ if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_REPO_SLUG" == "wet-boew/
#Commit the result
git add -f dist
git add -f demos
git add -f *.*
git commit -m "Travis build $TRAVIS_BUILD_NUMBER pushed to $TRAVIS_BRANCH"
git push -fq upstream $build_branch > /dev/null

0 comments on commit ea2ec03

Please sign in to comment.