From e1b716b7538b83c95b5fc9c6768cb186d682bb9c Mon Sep 17 00:00:00 2001 From: sasha Date: Wed, 27 Jul 2022 15:12:50 -0700 Subject: [PATCH] Make make-release.py aware of the parallel build gitian descriptor file --- zcutil/make-release.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zcutil/make-release.py b/zcutil/make-release.py index d0082bfa4..d6e6ca08b 100755 --- a/zcutil/make-release.py +++ b/zcutil/make-release.py @@ -246,7 +246,8 @@ def patch_version_in_files(release, releaseprev): patch_README(release, releaseprev) patch_clientversion_h(release) patch_configure_ac(release) - patch_gitian_linux_yml(release, releaseprev) + patch_gitian_linux_yml(release, releaseprev, 'contrib/gitian-descriptors/gitian-linux.yml') + patch_gitian_linux_yml(release, releaseprev, 'contrib/gitian-descriptors/gitian-linux-parallel.yml') @phase('Patching release height for end-of-support halt.') @@ -374,8 +375,7 @@ def patch_configure_ac(release): ) -def patch_gitian_linux_yml(release, releaseprev): - path = 'contrib/gitian-descriptors/gitian-linux.yml' +def patch_gitian_linux_yml(release, releaseprev, path): with PathPatcher(path) as (inf, outf): outf.write(inf.readline())