Skip to content

Commit 21d4e1b

Browse files
committed
Add python version
1 parent 6ae9a65 commit 21d4e1b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ci/deploy_anaconda.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@
1515

1616
label = ['--label', branch] if not on_release else []
1717
token = ['--token', os.getenv('CONDA_REPO_TOKEN')]
18+
python = ['--python', os.getenv('PYTHON_VERSION')]
1819

1920
command = ["conda", "build", "--no-test", "--no-copy-test-source-files"]
2021

2122
spr.check_call(["conda", "config", "--set", "anaconda_upload", "yes"])
2223

2324
print("Building recipe via " +
24-
" ".join(command + ["--token *******"] + label + [recipe_path]))
25+
" ".join(command + ["--token *******"] + label + python + [recipe_path]))
2526

26-
spr.check_call(command + token + label + [recipe_path])
27+
spr.check_call(command + token + label + python + [recipe_path])

0 commit comments

Comments
 (0)