Fix branch name in scripts/create_release.py

This commit is contained in:
Sam Clegg
2022-02-24 18:27:32 -08:00
parent 15fc2b4efe
commit 95162d561b

View File

@@ -55,7 +55,7 @@ def main(args):
subprocess.check_call([os.path.join(script_dir, 'update_bazel_workspace.sh')], cwd=root_dir)
branch_name = 'version_%s' % '_'.join(str(part) for part in new_version)
branch_name = 'version_' + new_version
# Create a new git branch
subprocess.check_call(['git', 'checkout', '-b', branch_name], cwd=root_dir)