Mercurial > repos > sanbi-uwc > confil
annotate 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 |
| rev | line source |
|---|---|
|
3
53a61865e86e
planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff
changeset
|
1 set -e |
|
53a61865e86e
planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff
changeset
|
2 # Only need to change these two variables |
|
53a61865e86e
planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff
changeset
|
3 PKG_NAME=confil |
|
53a61865e86e
planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff
changeset
|
4 USER=thoba |
|
53a61865e86e
planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff
changeset
|
5 |
|
53a61865e86e
planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff
changeset
|
6 OS=$TRAVIS_OS_NAME-64 |
|
53a61865e86e
planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff
changeset
|
7 |
|
53a61865e86e
planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff
changeset
|
8 conda config --set anaconda_upload no |
|
53a61865e86e
planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff
changeset
|
9 DEV='dev' |
|
53a61865e86e
planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff
changeset
|
10 DATE=`date +%Y%m%d` |
|
53a61865e86e
planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff
changeset
|
11 export VERSION=$DEV$DATE |
|
53a61865e86e
planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff
changeset
|
12 export CONDA_BLD_PATH=$HOME/miniconda/conda-bld |
|
53a61865e86e
planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff
changeset
|
13 conda build . |
|
53a61865e86e
planemo upload for repository https://github.com/COMBAT-TB/confil commit cb48efaef286f70c94607cb583a61bb9e3d71604
sanbi-uwc
parents:
diff
changeset
|
14 anaconda -t $CONDA_UPLOAD_TOKEN upload -u $USER $CONDA_BLD_PATH/$OS/$PKG_NAME-*.tar.bz2 --force |
