view conda/conda_upload.sh @ 5:a7b05dd0087d draft

planemo upload for repository https://github.com/COMBAT-TB/confil commit 83c5a4f7379a73750c815756a4e84af8ecabe78b-dirty
author sanbi-uwc
date Mon, 04 Mar 2019 07:42:05 -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