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): ...@@ -75,7 +75,7 @@ def main(package):
temp_dir = tempfile.mkdtemp() temp_dir = tempfile.mkdtemp()
try: try:
print("\nClonning the feedstock") print("\nClonning the feedstock")
feedstock = os.path.join(temp_dir, 'feedstock') feedstock = os.path.join(temp_dir, '{}-feedstock'.format(package))
try: try:
run_commands(['git', 'clone', 'git@github.com:conda-forge/{}-feedstock.git'.format(package), feedstock]) run_commands(['git', 'clone', 'git@github.com:conda-forge/{}-feedstock.git'.format(package), feedstock])
except ValueError: except ValueError:
...@@ -83,7 +83,7 @@ def main(package): ...@@ -83,7 +83,7 @@ def main(package):
raise raise
os.chdir(feedstock) os.chdir(feedstock)
run_commands(['git', 'remote', 'add', 'bioidiap', 'git@github.com:bioidiap/{}-feedstock.git'.format(package)], 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]) ['git', 'checkout', '-b', stable_version])
# update meta.yaml # update meta.yaml
with open('recipe/meta.yaml') as f: with open('recipe/meta.yaml') as f:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment