Skip to content

Commit

Permalink
uplaod file
Browse files Browse the repository at this point in the history
  • Loading branch information
doutriaux1 committed Oct 5, 2017
1 parent b6c3382 commit 376b17d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions ci-support/conda_upload.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/usr/bin/env bash
PKG_NAME=ensometrics
USER=uvcdat
VERSION="0.1"
echo "Trying to upload conda"
if [ `uname` == "Linux" ]; then
OS=linux-64
echo "Linux OS"
export PATH="$HOME/miniconda/bin:$PATH"
conda update -y -q conda
else
echo "Mac OS"
OS=osx-64
fi

mkdir ~/conda-bld
conda config --set anaconda_upload no
export CONDA_BLD_PATH=${HOME}/conda-bld
cd conda
conda build . -c conda-forge -c uvcdat
anaconda -t $CONDA_UPLOAD_TOKEN upload -u $USER -l nightly $CONDA_BLD_PATH/$OS/$PKG_NAME-$VERSION.`date +%Y*`0.tar.bz2 --force

0 comments on commit 376b17d

Please sign in to comment.