trying this cp thing again

This commit is contained in:
Yotam Mann 2017-08-30 11:47:12 -04:00
parent 8c6b17cd47
commit cceffbc143

View file

@ -32,12 +32,12 @@ if [ "$TRAVIS" = "true" ]; then
# dev builds go into the dev folder
mkdir $BUILD_DIR/test/
cp -r $TONE_DIR/build/ $BUILD_DIR/test/
cp -a $TONE_DIR/build/. $BUILD_DIR/test/
elif [ "$TRAVIS_BRANCH" = "master" ]; then
# master builds are on the root level folder
cp -r $TONE_DIR/build/ $BUILD_DIR/
cp -a $TONE_DIR/build/. $BUILD_DIR/
fi
@ -45,7 +45,7 @@ fi
# push the build
git add .
git commit -m 'build ${TRAVIS_BUILD_NUMBER}'
git commit -m "build $TRAVIS_BUILD_NUMBER"
git push -f
rm -rf $TMP_DIR