Skip to content
Snippets Groups Projects
Commit fb18ff32 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Look for conda-smithy in CONDA_FOLDER

parent a3c81f45
No related branches found
No related tags found
No related merge requests found
......@@ -132,7 +132,10 @@ def main(package, direct_push=False):
with open('recipe/meta.yaml', 'w') as f:
f.write(doc)
run_commands(['conda-smithy', 'rerender'],
conda_smithy_path = os.getenv('CONDA_FOLDER', '')
if conda_smithy_path:
conda_smithy_path = conda_smithy_path + os.sep
run_commands([conda_smithy_path+'conda-smithy', 'rerender'],
['git', '--no-pager', 'diff'],
['git', 'add', '-A'])
try:
......
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