Fixed a typo
This commit is contained in:
parent
58414affe8
commit
07398456c1
@ -14,11 +14,11 @@ print("Version detected: %s" % (version_type,))
|
|||||||
# Read update description and URL'S
|
# Read update description and URL'S
|
||||||
if version_type == "alpha":
|
if version_type == "alpha":
|
||||||
description = os.environ.get("CI_COMMIT_MESSAGE")
|
description = os.environ.get("CI_COMMIT_MESSAGE")
|
||||||
urls = dict(windows32="http://socializer.su/static/files/alpha/socializer_x86_alpha.zip", windows64="http://socializer.su/static/files/alpha/socializer_x64_alpha.zip")
|
urls = dict(Windows32="http://socializer.su/static/files/alpha/socializer_x86_alpha.zip", Windows64="http://socializer.su/static/files/alpha/socializer_x64_alpha.zip")
|
||||||
else:
|
else:
|
||||||
with open("update-description",'r') as f:
|
with open("update-description",'r') as f:
|
||||||
description = f.read()
|
description = f.read()
|
||||||
urls=dict(windows32="http://socializer.su/static/files/{v}/socializer_{v}_x86.zip".format(v=version[1:]), windows64="http://socializer.su/static/files/{v}/socializer_{v}_x64.zip".format(v=version[1:]))
|
urls=dict(Windows32="http://socializer.su/static/files/{v}/socializer_{v}_x86.zip".format(v=version[1:]), Windows64="http://socializer.su/static/files/{v}/socializer_{v}_x64.zip".format(v=version[1:]))
|
||||||
|
|
||||||
# build the main dict object
|
# build the main dict object
|
||||||
data = dict(current_version=version, description=description, downloads=urls)
|
data = dict(current_version=version, description=description, downloads=urls)
|
||||||
|
Loading…
Reference in New Issue
Block a user