###Conda Deploy Conda deploy command is a command used to auto-tag and deploy multiple packages. The idea would be to make it a one step operation to auto-tag a bunch of packages, and build a bunch of packages which point to the versions that were just tagged
conda deploy deploy.yaml
deploy.yaml contains
project1:
recipe : conda.recipe
location : git://something
branch : master
project2:
recipe : /home/hugo/path_to_recipe
location : git://something
branch : stable
project1 is a project which contains a conda.recipe with the following yaml file
{% set data = load_setuptools()%}
package:
name: project1
version: {{environ.get('project1_version')}}
build:
script:
- cd $RECIPE_DIR
- $PYTHON setup.py
requirements:
build:
- python
- setuptools
run:
- python
- project2={{environ.get('project2_version')}}
upon executing the command, conda deploy would checkout the branches specified in deploy.yaml into some temp location. If the hash of the branch matches a version number tag, that tag would be set to project1.version. Otherwise the latest versioned tag would be created and pushed. After all projects are tagged, then project1_version, project2_version env vars would be set. Then conda build would be run on all recipes