Skip to content

Commit

Permalink
np name in pkg version
Browse files Browse the repository at this point in the history
  • Loading branch information
doutriaux1 committed Feb 27, 2018
1 parent 9fe6a93 commit fdd6660
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ci-support/conda_upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,18 @@ source activate root
conda install -q anaconda-client conda-build
conda config --set anaconda_upload no
export CONDA_BLD_PATH=${HOME}/conda-bld
export VERSION=$(date +%Y.%m.%d)
echo "Cloning recipes"
git clone git://github.com/UV-CDAT/conda-recipes
cd conda-recipes
# uvcdat creates issues for build -c uvcdat confises package and channel
rm -rf uvcdat
python ./prep_for_build.py -v $(date +%Y.%m.%d)
python ./prep_for_build.py
#
echo "Building and uploading now"
#
# use variant configuration in conda_build_config.yaml
# Bug in conda-build 3.3.0 can be avoided with 3.2.2 on OSX
#
conda install conda-build==3.2.2
conda install conda-build
conda build -c conda-forge ${PKG_NAME}
anaconda -t $CONDA_UPLOAD_TOKEN upload -u $USER -l nightly $CONDA_BLD_PATH/$OS/$PKG_NAME-$(date +%Y.%m.%d)-*_0.tar.bz2 --force
anaconda -t $CONDA_UPLOAD_TOKEN upload -u $USER -l nightly $CONDA_BLD_PATH/$OS/$PKG_NAME*_0.tar.bz2 --force

0 comments on commit fdd6660

Please sign in to comment.