Skip to content
Snippets Groups Projects
Commit 1eb07645 authored by Philipp S. Sommer's avatar Philipp S. Sommer
Browse files

Add python version

parent 23801d99
No related branches found
Tags v1.4.2
No related merge requests found
......@@ -15,12 +15,13 @@ else:
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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment