commit 1c6785097afc70cd1622cb26ebb61967d02b763e parent 9176d7766f7a7e80ca0598b8001938c3cc8b5471 Author: jatinchowdhury18 <jatinchowdhury18@users.noreply.github.com> Date: Wed, 11 Dec 2019 17:08:52 -0700 Release 2.0 Diffstat:
M | .travis.yml | | | 44 | ++++++++++++++++++++++---------------------- |
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/.travis.yml b/.travis.yml @@ -121,25 +121,25 @@ script: - echo "SUCCESS" -# after_success: # upload mac bins -# - | -# if [[ $TRAVIS_JOB_NAME == 'osx' && type != push ]]; then -# echo "Copying Files..." -# cd $TRAVIS_BUILD_DIR/ -# cp -R $TRAVIS_BUILD_DIR/Plugin/Builds/MacOSX/build/Release/CHOWTapeModel.app $TRAVIS_BUILD_DIR/Plugin/Bin/Mac/CHOWTapeModel.app -# cp -R $TRAVIS_BUILD_DIR/Plugin/Builds/MacOSX/build/Release/CHOWTapeModel.component $TRAVIS_BUILD_DIR/Plugin/Bin/Mac/CHOWTapeModel.component -# cp -R $TRAVIS_BUILD_DIR/Plugin/Builds/MacOSX/build/Release/CHOWTapeModel.vst $TRAVIS_BUILD_DIR/Plugin/Bin/Mac/CHOWTapeModel.vst -# cp -R $TRAVIS_BUILD_DIR/Plugin/Builds/MacOSX/build/Release/CHOWTapeModel.vst3 $TRAVIS_BUILD_DIR/Plugin/Bin/Mac/CHOWTapeModel.vst3 -# -# echo "Setting Up Git..." -# git config --global user.email "travis@travis-ci.org" -# git config --global user.name "Travis CI" -# -# echo "Committing Files..." -# git checkout -b builds -# git add $TRAVIS_BUILD_DIR/Plugin/Bin/Mac/ -# git commit -m "Travis build- $TRAVIS_BUILD_NUMBER" -# -# echo "Pushing to branch..." -# git push https://${GH_TOKEN}@github.com/jatinchowdhury18/AnalogTapeModel.git -# fi +after_success: # upload mac bins + - | + if [[ $TRAVIS_JOB_NAME == 'osx' && type != push ]]; then + echo "Copying Files..." + cd $TRAVIS_BUILD_DIR/ + cp -R $TRAVIS_BUILD_DIR/Plugin/Builds/MacOSX/build/Release/CHOWTapeModel.app $TRAVIS_BUILD_DIR/Plugin/Bin/Mac/CHOWTapeModel.app + cp -R $TRAVIS_BUILD_DIR/Plugin/Builds/MacOSX/build/Release/CHOWTapeModel.component $TRAVIS_BUILD_DIR/Plugin/Bin/Mac/CHOWTapeModel.component + cp -R $TRAVIS_BUILD_DIR/Plugin/Builds/MacOSX/build/Release/CHOWTapeModel.vst $TRAVIS_BUILD_DIR/Plugin/Bin/Mac/CHOWTapeModel.vst + cp -R $TRAVIS_BUILD_DIR/Plugin/Builds/MacOSX/build/Release/CHOWTapeModel.vst3 $TRAVIS_BUILD_DIR/Plugin/Bin/Mac/CHOWTapeModel.vst3 + + echo "Setting Up Git..." + git config --global user.email "travis@travis-ci.org" + git config --global user.name "Travis CI" + + echo "Committing Files..." + git checkout -b builds + git add $TRAVIS_BUILD_DIR/Plugin/Bin/Mac/ + git commit -m "Travis build- $TRAVIS_BUILD_NUMBER" + + echo "Pushing to branch..." + git push https://${GH_TOKEN}@github.com/jatinchowdhury18/AnalogTapeModel.git + fi