Skip to content

Commit e91147b

Browse files
author
Matthew Chan
committed
fix travis tag, finally
1 parent fb11e2d commit e91147b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ after_success:
187187

188188
before_deploy:
189189
# Try to set some env vars to configure deployment.
190-
- export ANACONDA_LABEL_ARG=$(sed -e 's/.*a.*/-l alpha/' -e 's/.*b.*/-l beta/' <<< ${TRAVIS_TAG})
190+
- export ANACONDA_LABEL_ARG=$(sed -e 's/.*a.*/alpha/' -e 's/.*b.*/beta/' <<< ${TRAVIS_TAG})
191191

192192
# In deployment, the env var TRAVIS_TAG contains the name of the current tag, if any.
193193
deploy:
@@ -218,7 +218,7 @@ deploy:
218218
- provider: script
219219
skip_cleanup: true
220220
script:
221-
anaconda -t $ANACONDA_TOKEN upload --force ${ANACONDA_LABEL_ARG}
221+
anaconda -t $ANACONDA_TOKEN upload --force -l ${ANACONDA_LABEL_ARG}
222222
${HOME}/miniconda/conda-bld/*/${CONDA_PKG_NAME_CPP}-*.tar.bz2
223223
${HOME}/miniconda/conda-bld/*/${CONDA_PKG_NAME_PY}-*.tar.bz2
224224
on:

0 commit comments

Comments
 (0)