diff --git a/.travis.yml b/.travis.yml index a9479708f..444521b94 100644 --- a/.travis.yml +++ b/.travis.yml @@ -102,5 +102,10 @@ jobs: - echo "Uploading conda package" - > + if [ -z "$TRAVIS_TAG"]; then echo "No Branch tag is Present. Uploading to dev"; anaconda -t $CONDA_UPLOAD_TOKEN upload -u tethysplatform -l test - $CONDA_BLD_PATH/noarch/tethysplatform*.tar.bz2 --force \ No newline at end of file + $CONDA_BLD_PATH/noarch/tethysplatform*.tar.bz2 --force; + else echo "Branch tag is $TRAVIS_TAG. Uploading to master"; + anaconda -t $CONDA_UPLOAD_TOKEN upload -u tethysplatform + $CONDA_BLD_PATH/noarch/tethysplatform*.tar.bz2 --force; + fi \ No newline at end of file