From: Cheng Zhao Date: Thu, 7 Nov 2013 08:59:33 +0000 (+0800) Subject: :lipstick: fix typo. X-Git-Tag: v0.6.9~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=7324f0468b8b3a99882e1a3097c1080d5be78b7d;p=electron.git :lipstick: fix typo. --- diff --git a/script/bump-version.py b/script/bump-version.py index be200e7b..5e4d798f 100755 --- a/script/bump-version.py +++ b/script/bump-version.py @@ -84,7 +84,7 @@ def update_version_h(versions): if 'ATOM_MAJOR_VERSION' in line: lines[i] = '#define ATOM_MAJOR_VERSION {0}\n'.format(versions[0]) lines[i + 1] = '#define ATOM_MINOR_VERSION {0}\n'.format(versions[1]) - lines[i + 2] = '#define ATOM_PATCH_VERSION {0}\n'.format(versions[1]) + lines[i + 2] = '#define ATOM_PATCH_VERSION {0}\n'.format(versions[2]) with open(version_h, 'w') as f: f.write(''.join(lines))