Skip to content

Commit

Permalink
add installer version in anaconda upload
Browse files Browse the repository at this point in the history
  • Loading branch information
hans-permana committed Feb 28, 2017
1 parent 24e9098 commit 79878d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ env:
- CONDA_PY=3.5
# the following key was generated in 2 steps based on the example here https://github.com/quantopian/zipline/blob/master/.travis.yml
- secure: "LbdHrvf1y+B/pOSqbM5z3FJa6hHbja1zLP3lp7Wbh/9RMua65FoSj+yXiULi0zLmLT1fTEuDKdWkHXgFiWyIawN5Wb/xBNc7UuJi5L2ko0WPs0UxUn6/vzj+rdmAp7lLSJldELWTyDUpnactkLD/HO43LwKW7IGsXas6U1gzjws9LlX4RoAAGfRyPalSWDEA6+/AYmpofmBNCgktqdmDi+zq5wif9X7JTPtVMllW81NLSQqzJvSYzT6EyONFLTJh8bd9FzOeyrR90MahQo8HjVSXAA0yp1qxJGtJtlRLaMIr+Xz7sec/rfIjvT8Vob8ZeAas38uuU5mAg4UgUTidQRYwZZIv4V0dFIY8eMhSruSTP6vReewT2nGSDwGVhENoW+JFVZj2BQ92t81ml6FGhMN/03nrUd7FqH6/W30AjwqAXtYa6GKM3qcMPu1gPr25Y6D8Z1ybYaCkWaD5gRZTc2G67cb1TBxzh3scgMPuJtxYidPLPAjMXy2uFKOrV6o0ZCCztT3TOWUhQ2XQHRpj5hGsjIMWH6zcPHavAcYJZ2xSROkXrSlNyFluSlKnhl2Ix1EjvUYII60cHwIlqc7HprjNp4CsUBdmBWWy7A176Ph6oMuKvf535J27BNKViVOWYHxIx7O8MBP/MxMDHCSHyqedOcwwj6dEI/mSAC3chnU="
- INSTALLER_VERSION: "0.5.4.dev1"

os:
- linux
Expand Down Expand Up @@ -34,4 +35,4 @@ script:
after_success:
- RECIPE_OUTPUT=$(conda build -c ccitools recipe --output)
- anaconda -v -t $ANACONDA_TOKEN upload "$RECIPE_OUTPUT" -u dedop --force
- anaconda -v -t $ANACONDA_TOKEN upload --user dedop --package dedop-installer --package-type file --version 1 DeDop*.sh --force
- anaconda -v -t $ANACONDA_TOKEN upload --user dedop --package dedop-installer --package-type file --version $INSTALLER_VERSION DeDop*.sh --force
3 changes: 2 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ environment:
ANACONDA_TOKEN:
secure: "8Wuonn7zuZIDXX26rNMQ+ivY6msM56v7d0TNUpQ7rUy291IxaW88aWDEPYDthTZ8"
PYTHON_LOC: "C:\\Miniconda35-x64"
INSTALLER_VERSION: "0.5.4.dev1"

install:
- cmd: call %PYTHON_LOC%\Scripts\activate.bat
Expand All @@ -18,4 +19,4 @@ build_script:

deploy_script:
- cmd: anaconda -v -t %ANACONDA_TOKEN% upload "%PYTHON_LOC%\conda-bld\win-64\dedop*.tar.bz2" -u dedop --force
- cmd: anaconda -v -t %ANACONDA_TOKEN% upload --user dedop --package dedop-installer --package-type file --version 1 "DeDop*.exe" --force
- cmd: anaconda -v -t %ANACONDA_TOKEN% upload --user dedop --package dedop-installer --package-type file --version %INSTALLER_VERSION% "DeDop*.exe" --force

0 comments on commit 79878d1

Please sign in to comment.