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 23801d9 commit 1eb0764
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 1eb0764

Please sign in to comment.