Skip to content

Commit a0e3683

Browse files
committed
Deploy tags
1 parent 3970203 commit a0e3683

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,3 +183,4 @@ deploy:
183183
on:
184184
condition: '$MPL_VERSION == 3.0'
185185
all_branches: true
186+
tags: true

ci/deploy_anaconda.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
#!/bin/bash
2-
anaconda -t $CONDA_REPO_TOKEN upload -l $TRAVIS_BRANCH --force "$(ls $HOME/miniconda/conda-bld/${TRAVIS_OS_NAME}-64/*.tar.bz2)"
2+
if [[ $TRAVIS_TAG == "" ]]; then LABEL="-l $TRAVIS_BRANCH"; fi
3+
anaconda -t $CONDA_REPO_TOKEN upload $LABEL --force "$(ls $HOME/miniconda/conda-bld/${TRAVIS_OS_NAME}-64/*.tar.bz2)"

0 commit comments

Comments
 (0)