Commit f623053c by Feanil Patel

Replace dashes with underscores for version var name.

parent 079e0605
......@@ -117,7 +117,7 @@ def prepare_release(args):
# For all repos that were updated
for repo, ref in update_repos.items():
var_name = "{}_version".format(repo)
var_name = "{}_version".format(repo.replace('-','_'))
if repo not in config['repos']:
raise Exception("No info for repo with name '{}'".format(repo))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment