Fix integration file fetching
Had incorrect URLs for dist and raw files
This commit is contained in:
parent
0983fd27c9
commit
0c11152e29
@ -216,9 +216,9 @@ class Package:
|
|||||||
|
|
||||||
def real_get(filename) -> requests.Response | None:
|
def real_get(filename) -> requests.Response | None:
|
||||||
urls = [
|
urls = [
|
||||||
f"https://raw.githubusercontent.com/{self.owner}/{self.version}/dist/{filename}",
|
f"https://raw.githubusercontent.com/{self.owner}/{self.name}/{self.version}/dist/{filename}",
|
||||||
f"https://github.com/{self.owner}/{self.name}/releases/download/{self.version}/{filename}",
|
f"https://github.com/{self.owner}/{self.name}/releases/download/{self.version}/{filename}",
|
||||||
f"https://raw.githubusercontent.com/{self.owner}/{self.version}/{filename}",
|
f"https://raw.githubusercontent.com/{self.owner}/{self.name}/{self.version}/{filename}",
|
||||||
]
|
]
|
||||||
|
|
||||||
for url in urls:
|
for url in urls:
|
||||||
|
Loading…
Reference in New Issue
Block a user