Unverified Commit 4e653b26 authored by jlaura's avatar jlaura Committed by GitHub
Browse files

Trying to force travis to deploy with labels

I am editing this on the repo in order to get Travis to do its thing - I can not do this via a PR.
parent f9ab0e3d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -58,8 +58,8 @@ after_success:
  - builddir=(`conda build recipe --output`)
  # Label based on the branch and upload to anaconda.org
  - |
    if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
    if [ "$TRAVIS_BRANCH" == "master" ]; then
      anaconda -t="$CONDA_UPLOAD_TOKEN" upload $builddir --label main --force;
    elif [ "$TRAVIS_BRANCH" == "dev" ] && [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
    elif [ "$TRAVIS_BRANCH" == "dev" ]; then
      anaconda -t="$CONDA_UPLOAD_TOKEN" upload $builddir --label dev --force;
    fi