Commit the version changes and build.

This commit is contained in:
Nathan Wilcox 2017-05-19 17:47:34 -07:00
parent f6b9ffefb7
commit 785244020a
1 changed files with 15 additions and 0 deletions

View File

@ -43,6 +43,15 @@ def main_logged(release, releaseprev, releaseheight):
patch_version_in_files(release, releaseprev)
patch_release_height(releaseheight)
logging.info('Committing version changes.')
sh_log(
'git',
'commit',
'--all',
'-m', 'make-release.py versioning changes.',
)
build()
raise NotImplementedError(main_logged)
@ -143,6 +152,12 @@ def patch_release_height(releaseheight):
)
def build():
logging.info('Building...')
nproc = sh_out('nproc').strip()
sh_log('./zcutil/build.sh', '-j', nproc)
# Helper code:
def chdir_to_repo(repo):
if repo is None: