breaking change. iterator is now in its own package

v1
Brett 2024-09-28 16:43:46 -04:00
parent aabb9d801d
commit 709401e4da
2 changed files with 2 additions and 2 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,