-
Notifications
You must be signed in to change notification settings - Fork 9
/
upload_dependencies.sh
38 lines (32 loc) · 1.67 KB
/
upload_dependencies.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash
export PKG_NAME=rec_to_nwb
export ANACONDA_API_TOKEN=$CONDA_UPLOAD_TOKEN
export CONDA_BUILD_PATH=/home/travis/miniconda/envs/test-environment/conda-bld
conda config --set anaconda_upload no
echo "Build missing pypi packages..."
conda skeleton pypi rec_to_binaries --version 0.6.1.dev0
conda skeleton pypi xmldiff
conda skeleton pypi vdom
conda skeleton pypi jp_proxy_widget
conda skeleton pypi jupyter-ui-poll
conda skeleton pypi mountainlab_pytools
echo "Build missing pypi packages into conda packages..."
conda build rec_to_binaries
conda build xmldiff
conda build vdom
conda build jp_proxy_widget
conda build jupyter-ui-poll
conda build mountainlab_pytools
echo "Convert missing pypi packages ..."
conda convert --platform osx-64 $CONDA_BUILD_PATH/linux-64/***.tar.bz2 --output-dir $CONDA_BUILD_PATH -q
conda convert --platform linux-32 $CONDA_BUILD_PATH/linux-64/***.tar.bz2 --output-dir $CONDA_BUILD_PATH -q
conda convert --platform linux-64 $CONDA_BUILD_PATH/linux-64/***.tar.bz2 --output-dir $CONDA_BUILD_PATH -q
conda convert --platform win-32 $CONDA_BUILD_PATH/linux-64/***.tar.bz2 --output-dir $CONDA_BUILD_PATH -q
conda convert --platform win-64 $CONDA_BUILD_PATH/linux-64/***.tar.bz2 --output-dir $CONDA_BUILD_PATH -q
echo "Upload missing pypi packages to anaconda..."
anaconda upload $CONDA_BUILD_PATH/**/rec_to_binaries-*.tar.bz2 --force
anaconda upload $CONDA_BUILD_PATH/**/xmldiff-*.tar.bz2 --force
anaconda upload $CONDA_BUILD_PATH/**/vdom-*.tar.bz2 --force
anaconda upload $CONDA_BUILD_PATH/**/jp_proxy_widget-*.tar.bz2 --force
anaconda upload $CONDA_BUILD_PATH/**/jupyter-ui-poll-*.tar.bz2 --force
anaconda upload $CONDA_BUILD_PATH/**/mountainlab_pytools-*.tar.bz2 --force