Skip to content

Commit

Permalink
Add python version
Browse files Browse the repository at this point in the history
  • Loading branch information
Chilipp committed Sep 30, 2020
1 parent 6ae9a65 commit 21d4e1b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ci/deploy_anaconda.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])

0 comments on commit 21d4e1b

Please sign in to comment.