view conda/conda_upload.sh @ 6:2b90d0574ea5 draft

planemo upload for repository https://github.com/COMBAT-TB/confil commit c84738cfc4876c591d7108229038a4001f836afb
author sanbi-uwc
date Tue, 05 Mar 2019 03:49:38 -0500
parents 53a61865e86e
children 96c8c5cada47
line wrap: on
line source

set -e
# Only need to change these two variables
PKG_NAME=confil
USER=thoba

OS=$TRAVIS_OS_NAME-64

conda config --set anaconda_upload no
DEV='dev'
DATE=`date +%Y%m%d`
export VERSION=$DEV$DATE
export CONDA_BLD_PATH=$HOME/miniconda/conda-bld
conda build .
anaconda -t $CONDA_UPLOAD_TOKEN upload -u $USER $CONDA_BLD_PATH/$OS/$PKG_NAME-*.tar.bz2 --force