main
Brett 2024-09-28 16:45:12 -04:00
parent bc82e7485d
commit 2cb3db9135
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ def make_release(env: EnvData, name):
urls = [] urls = []
for line in repos_v: for line in repos_v:
origin = ''.join(itertools.takewhile(str.isalpha, line.decode('utf8'))) origin = ''.join(itertools.takewhile(str.isalpha, line.decode('utf8')))
urls.append("https://api.github.com/repos/" + open_process(["git", "remote", "get-url", origin], False)[0].decode('utf8').replace("\n", "").replace("https://github.com/", "") + "/releases") urls.append(open_process(["git", "remote", "get-url", origin], False)[0].decode('utf8').replace("\n", "").replace(".git", "").replace("https://github.com/", "https://api.github.com/repos/") + "/releases")
urls = set(urls) urls = set(urls)
data = { data = {
'tag_name': name, 'tag_name': name,