Skip to content
Snippets Groups Projects
Commit 18141afa authored by Amir Mohammadi's avatar Amir Mohammadi
Browse files

Fix a bug

parent f3cd45a1
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ def main(package):
temp_dir = tempfile.mkdtemp()
try:
print("\nClonning the feedstock")
feedstock = os.path.join(temp_dir, 'feedstock')
feedstock = os.path.join(temp_dir, '{}-feedstock'.format(package))
try:
run_commands(['git', 'clone', 'git@github.com:conda-forge/{}-feedstock.git'.format(package), feedstock])
except ValueError:
......@@ -83,7 +83,7 @@ def main(package):
raise
os.chdir(feedstock)
run_commands(['git', 'remote', 'add', 'bioidiap', 'git@github.com:bioidiap/{}-feedstock.git'.format(package)],
['git', 'fetch', '--all'],
# ['git', 'fetch', '--all'],
['git', 'checkout', '-b', stable_version])
# update meta.yaml
with open('recipe/meta.yaml') as f:
......
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