Changed more files to adapt to the new hosting provider
This commit is contained in:
parent
b498dfb91e
commit
18fd1610bf
@ -14,7 +14,7 @@ print("Version detected: %s" % (version_type,))
|
|||||||
# Read update description and URL'S
|
# Read update description and URL'S
|
||||||
if version_type == "latest":
|
if version_type == "latest":
|
||||||
description = os.environ.get("CI_COMMIT_MESSAGE")
|
description = os.environ.get("CI_COMMIT_MESSAGE")
|
||||||
urls = dict(Windows32="https://manuelcortez.net/static/files/music_dl/latest/music_dl.zip", Windows64="https://manuelcortez.net/static/files/music_dl/latest/music_dl.zip")
|
urls = dict(Windows32="https://files.manuelcortez.net/music_dl/latest/music_dl.zip", Windows64="https://files.manuelcortez.net/music_dl/latest/music_dl.zip")
|
||||||
else:
|
else:
|
||||||
with open("update-description",'r') as f:
|
with open("update-description",'r') as f:
|
||||||
description = f.read()
|
description = f.read()
|
||||||
|
@ -11,6 +11,6 @@ translators = [_(u"Manuel Cortez (Spanish)")]
|
|||||||
bts_name = "music_dl"
|
bts_name = "music_dl"
|
||||||
bts_access_token = "fe3j2ijirvevv9"
|
bts_access_token = "fe3j2ijirvevv9"
|
||||||
bts_url = "https://issues.manuelcortez.net"
|
bts_url = "https://issues.manuelcortez.net"
|
||||||
update_url = "https://manuelcortez.net/static/files/music_dl/update/latest.json"
|
update_url = "https://files.manuelcortez.net/music_dl/update/latest.json"
|
||||||
version = "2020.07.23"
|
version = "2020.07.23"
|
||||||
update_next_version = "14775226"
|
update_next_version = "14775226"
|
@ -5,7 +5,7 @@ import requests
|
|||||||
from codecs import open
|
from codecs import open
|
||||||
|
|
||||||
print("Writing version data for alpha update...")
|
print("Writing version data for alpha update...")
|
||||||
commit_info = requests.get("https://code.manuelcortez.net/api/v4/projects/5/repository/commits/master")
|
commit_info = requests.get("https://gitlab.com/api/v4/projects/23506193/repository/commits/master")
|
||||||
commit_info = commit_info.json()
|
commit_info = commit_info.json()
|
||||||
commit = commit_info["short_id"]
|
commit = commit_info["short_id"]
|
||||||
print("Got new version info: {commit}".format(commit=commit,))
|
print("Got new version info: {commit}".format(commit=commit,))
|
||||||
|
Loading…
Reference in New Issue
Block a user