aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-05-17 16:47:49 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-05-17 16:47:52 -0400
commitc89a63412e8549e9e2e13a09afefbe17babb50d5 (patch)
tree5f9c678acb3f39703ab2c08a099ebf9e4d2a80db /contrib
parent277abed604a81be8036458573d052eaa293b6cf8 (diff)
parentfeed98e1892b0486eb08f21ed07f0012f52f10ae (diff)
Merge #15863: scripts and tools: Ensure repos are up-to-date in gitian-build.py
feed98e189 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
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/gitian-build.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/gitian-build.py b/contrib/gitian-build.py
index e51481e0bf..62d78bf164 100755
--- a/contrib/gitian-build.py
+++ b/contrib/gitian-build.py
@@ -219,6 +219,10 @@ def main():
subprocess.check_call(['git', 'checkout', args.commit])
os.chdir(workdir)
+ os.chdir('gitian-builder')
+ subprocess.check_call(['git', 'pull'])
+ os.chdir(workdir)
+
if args.build:
build()
@@ -226,6 +230,9 @@ def main():
sign()
if args.verify:
+ os.chdir('gitian.sigs')
+ subprocess.check_call(['git', 'pull'])
+ os.chdir(workdir)
verify()
if __name__ == '__main__':