From feed98e1892b0486eb08f21ed07f0012f52f10ae Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Sun, 21 Apr 2019 09:52:48 +0300 Subject: Ensure repos are up-to-date These steps are provided by the release process. --- contrib/gitian-build.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/contrib/gitian-build.py b/contrib/gitian-build.py index fc7fbb764d..a9cfb3e35b 100755 --- a/contrib/gitian-build.py +++ b/contrib/gitian-build.py @@ -220,6 +220,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() @@ -227,6 +231,9 @@ def main(): sign() if args.verify: + os.chdir('gitian.sigs') + subprocess.check_call(['git', 'pull']) + os.chdir(workdir) verify() if __name__ == '__main__': -- cgit v1.2.3