Add tag and commit after version is bumped.
This commit is contained in:
parent
48a0ac9a96
commit
690ab7d4ae
1 changed files with 7 additions and 0 deletions
|
@ -24,6 +24,7 @@ def main():
|
|||
update_win_rc(version, versions)
|
||||
update_version_h(versions)
|
||||
update_info_plist(version)
|
||||
tag_version(version)
|
||||
|
||||
|
||||
def parse_version(version):
|
||||
|
@ -105,5 +106,11 @@ def update_info_plist(version):
|
|||
return
|
||||
|
||||
|
||||
def tag_version(version):
|
||||
subprocess.check_call(['git', 'commit', '-a', '-m',
|
||||
'Bump v{0}.'.format(version)])
|
||||
subprocess.check_call(['git', 'tag', 'v{0}'.format(version)])
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
sys.exit(main())
|
||||
|
|
Loading…
Reference in a new issue