mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-24 16:51:07 +01:00
Merge branch 'feature/bma/improve_script' into develop
This commit is contained in:
commit
61ea78a9d9
@ -41,6 +41,9 @@ parser.add_argument('-b',
|
||||
type=int,
|
||||
required=True,
|
||||
help='the buildkite build number.')
|
||||
parser.add_argument('-f',
|
||||
'--filename',
|
||||
help='the filename, to download only one artifact.')
|
||||
parser.add_argument('-e',
|
||||
'--expecting',
|
||||
type=int,
|
||||
@ -148,6 +151,8 @@ for elt in data:
|
||||
print(" %s: %s" % (key, str(value)))
|
||||
url = elt.get("download_url")
|
||||
filename = elt.get("filename")
|
||||
if args.filename is not None and args.filename != filename:
|
||||
continue
|
||||
target = targetDir + "/" + filename
|
||||
print("Downloading %s to '%s'..." % (filename, targetDir))
|
||||
if not args.simulate:
|
||||
|
Loading…
Reference in New Issue
Block a user