Ensure repos are up-to-date

These steps are provided by the release process.
This commit is contained in:
Hennadii Stepanov 2019-04-21 09:52:48 +03:00
parent 56376f3365
commit feed98e189
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F

View File

@ -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__':