diff --git a/ci/deploy_anaconda.py b/ci/deploy_anaconda.py index 38bb881..bfb0588 100755 --- a/ci/deploy_anaconda.py +++ b/ci/deploy_anaconda.py @@ -15,12 +15,13 @@ label = ['--label', branch] if not on_release else [] token = ['--token', os.getenv('CONDA_REPO_TOKEN')] +python = ['--python', os.getenv('PYTHON_VERSION')] command = ["conda", "build", "--no-test", "--no-copy-test-source-files"] spr.check_call(["conda", "config", "--set", "anaconda_upload", "yes"]) print("Building recipe via " + - " ".join(command + ["--token *******"] + label + [recipe_path])) + " ".join(command + ["--token *******"] + label + python + [recipe_path])) -spr.check_call(command + token + label + [recipe_path]) +spr.check_call(command + token + label + python + [recipe_path])