From 8afb2a97037d03338a230a94cce18fd19220395a Mon Sep 17 00:00:00 2001 From: msouff Date: Tue, 13 Aug 2019 10:41:56 -0600 Subject: [PATCH] Updated branch based anaconda upload. Testing --- .travis.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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