1
0
forked from wrenn/wrenn

Update publish_github.py
Some checks failed
ci/woodpecker/push/pipeline Pipeline failed

This commit is contained in:
Tasnim Kabir Sadik
2026-05-02 23:24:33 +06:00
parent 7da2fa1efb
commit 0bd1b58be7

View File

@ -4,7 +4,7 @@ from pathlib import Path
import httpx import httpx
GITHUB_REPO = "tksadik92/wrenn-releases" GITHUB_REPO = "R3dRum92/wrenn-releases"
GITHUB_API = "https://api.github.com" GITHUB_API = "https://api.github.com"
GITHUB_UPLOADS = "https://uploads.github.com" GITHUB_UPLOADS = "https://uploads.github.com"
BUILDS_DIR = "builds" BUILDS_DIR = "builds"
@ -89,7 +89,10 @@ def main() -> None:
content=data, content=data,
) )
if resp.status_code != 201: if resp.status_code != 201:
print(f"WARN [upload {artifact.name}]: {resp.status_code} {resp.text}", file=sys.stderr) print(
f"WARN [upload {artifact.name}]: {resp.status_code} {resp.text}",
file=sys.stderr,
)
else: else:
print(f"OK [upload {artifact.name}]") print(f"OK [upload {artifact.name}]")