diff --git a/.travis.yml b/.travis.yml index a56f3b45a..7458e48d6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,3 +26,18 @@ script: after_success: - if [ $TRAVIS_BRANCH = 'development_3.0' ]; then bash travisScript.sh; else echo "Not a branch set to push"; fi +before_deploy: + # Set up git user name and tag this commit + - echo "before deploy" + - echo "$TRAVIS_TAG" "$TRAVIS_COMMIT" + - export TRAVIS_TAG=${TRAVIS_TAG:-$(date +'%Y%m%d')} + - if [ $TRAVIS_BRANCH = 'development_3.0' ]; then git tag $TRAVIS_TAG; fi + - echo "$TRAVIS_TAG" "$TRAVIS_COMMIT" + +deploy: + provider: releases + api_key: ${GIT_ACCESS_TOKEN} + file: "../deployable_binaries.zip" + skip_cleanup: true + on: + all_branches: true \ No newline at end of file