From 79878d15bd1f6ca4195672a4cdc78d55935d27a0 Mon Sep 17 00:00:00 2001 From: Hans Permana Date: Tue, 28 Feb 2017 13:10:46 +0100 Subject: [PATCH] add installer version in anaconda upload --- .travis.yml | 3 ++- appveyor.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2584fa4..b491a3d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 @@ -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 diff --git a/appveyor.yml b/appveyor.yml index 0964d96..d60f54a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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 @@ -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 \ No newline at end of file + - cmd: anaconda -v -t %ANACONDA_TOKEN% upload --user dedop --package dedop-installer --package-type file --version %INSTALLER_VERSION% "DeDop*.exe" --force \ No newline at end of file