Skip to content

Commit e4b90cf

Browse files
committed
Deploy tags
1 parent c03ee77 commit e4b90cf

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,4 @@ deploy:
100100
on:
101101
condition: '$DEPLOY_CONDA == true'
102102
all_branches: true
103+
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)