Skip to content

Commit c89a634

Browse files
author
MarcoFalke
committed
Merge #15863: scripts and tools: Ensure repos are up-to-date in gitian-build.py
feed98e Ensure repos are up-to-date (Hennadii Stepanov) Pull request description: These steps are provided by the [release process](https://github.com/bitcoin/bitcoin/blob/master/doc/release-process.md#setup-and-perform-gitian-builds). ACKs for commit feed98: Tree-SHA512: ad6876d211e524cf6b8dbe4f0f026b77792c8ae3b728e1419f17d5679766603d21c057a7866c183794c814b914a9e4584e16fc501bec77af7e3472a34bd4d913
2 parents 277abed + feed98e commit c89a634

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

contrib/gitian-build.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,13 +219,20 @@ def main():
219219
subprocess.check_call(['git', 'checkout', args.commit])
220220
os.chdir(workdir)
221221

222+
os.chdir('gitian-builder')
223+
subprocess.check_call(['git', 'pull'])
224+
os.chdir(workdir)
225+
222226
if args.build:
223227
build()
224228

225229
if args.sign:
226230
sign()
227231

228232
if args.verify:
233+
os.chdir('gitian.sigs')
234+
subprocess.check_call(['git', 'pull'])
235+
os.chdir(workdir)
229236
verify()
230237

231238
if __name__ == '__main__':

0 commit comments

Comments
 (0)