Add Beta channel build support
parent
3076d01fb4
commit
c4f7fbe6a5
|
|
@ -154,7 +154,7 @@ for dir in dirs:
|
||||||
full_file = os.path.join(args.path_to_directory, dir, file)
|
full_file = os.path.join(args.path_to_directory, dir, file)
|
||||||
md5 = get_md5(full_file)
|
md5 = get_md5(full_file)
|
||||||
base_name = os.path.basename(file)
|
base_name = os.path.basename(file)
|
||||||
if "-Release-" in base_name:
|
if "-Release-" in base_name or "-Beta-" in base_name:
|
||||||
wordsize = "32"
|
wordsize = "32"
|
||||||
else:
|
else:
|
||||||
wordsize = "64"
|
wordsize = "64"
|
||||||
|
|
@ -191,6 +191,7 @@ for dir in dirs:
|
||||||
platform = f"{platforms_printable[dir]}"
|
platform = f"{platforms_printable[dir]}"
|
||||||
for grid in ["SL", "OS"]:
|
for grid in ["SL", "OS"]:
|
||||||
grid_printable = f"{grids_printable[grid]}"
|
grid_printable = f"{grids_printable[grid]}"
|
||||||
|
try:
|
||||||
print (f"{platform} for {grid_printable} ({wordsize}-bit)")
|
print (f"{platform} for {grid_printable} ({wordsize}-bit)")
|
||||||
print ( "{}/{}/{}".format(download_root,dir,os.path.basename(file_dict[f"{grid}{dir}{wordsize}"])) )
|
print ( "{}/{}/{}".format(download_root,dir,os.path.basename(file_dict[f"{grid}{dir}{wordsize}"])) )
|
||||||
print ()
|
print ()
|
||||||
|
|
@ -205,6 +206,9 @@ for dir in dirs:
|
||||||
print ( "MD5: {}".format(md5_dict[f"{grid}{dir}{wordsize}"]) )
|
print ( "MD5: {}".format(md5_dict[f"{grid}{dir}{wordsize}"]) )
|
||||||
print ()
|
print ()
|
||||||
wordsize = "64"
|
wordsize = "64"
|
||||||
|
except KeyError:
|
||||||
|
print (f"{platform} for {grid_printable} ({wordsize}-bit) - NOT AVAILABLE")
|
||||||
|
print ()
|
||||||
|
|
||||||
print('''
|
print('''
|
||||||
-------------------------------------------------------------------------------------------------------''')
|
-------------------------------------------------------------------------------------------------------''')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue