Commit the version changes and build.
This commit is contained in:
parent
f6b9ffefb7
commit
785244020a
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue