From 7416a81b82033768136cf54eee4ff20f1d1ac003 Mon Sep 17 00:00:00 2001 From: Chilipp Date: Mon, 12 Nov 2018 13:29:56 +0100 Subject: [PATCH] Minor changes in deploy --- ci/deploy_anaconda.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/deploy_anaconda.sh b/ci/deploy_anaconda.sh index d36c056..fe7d0cd 100755 --- a/ci/deploy_anaconda.sh +++ b/ci/deploy_anaconda.sh @@ -1,2 +1,3 @@ #!/bin/bash -anaconda -t $CONDA_REPO_TOKEN upload -l $TRAVIS_BRANCH --force "$(ls $HOME/miniconda/conda-bld/${TRAVIS_OS_NAME}-64/*.tar.bz2)" +if [[ $TRAVIS_TAG == "" ]]; then LABEL="-l $TRAVIS_BRANCH"; fi +anaconda -t $CONDA_REPO_TOKEN upload $LABEL --force "$(ls $HOME/miniconda/conda-bld/${TRAVIS_OS_NAME}-64/*.tar.bz2)"