Commit 533fddd2 authored by Abderrahim Kitouni's avatar Abderrahim Kitouni
Browse files

convert-to-tarballs: allow creating the branch specific config before the .0 release

parent d95be762
......@@ -273,8 +273,9 @@ def main(args):
print("ERROR: Version number is not valid", file=sys.stderr)
exit(1)
if is_stable:
config = Options(os.path.join(program_dir, 'tarball-conversion-{}.config'.format(branch)))
branch_config = 'tarball-conversion-{}.config'.format(branch)
if is_stable or os.path.exists(branch_config):
config = Options(os.path.join(program_dir, branch_config))
else:
config = Options(os.path.join(program_dir, 'tarball-conversion.config'))
......
Supports Markdown
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