:lipstick: fix typo.
authorCheng Zhao <zcbenz@gmail.com>
Thu, 7 Nov 2013 08:59:33 +0000 (16:59 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 7 Nov 2013 08:59:33 +0000 (16:59 +0800)
script/bump-version.py

index be200e7b1f14424abb26f059113c8b77651fed5e..5e4d798f9a0bc7f9f1cca884a5f3454f17aabf4e 100755 (executable)
@@ -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))