update upload asset

This commit is contained in:
komeil Parseh 2023-03-08 18:07:14 +03:30
parent 64365268fe
commit 8ed8da3fce
No known key found for this signature in database
GPG key ID: 1928AF673B1C4255

View file

@ -22,7 +22,7 @@ def _compute_sha256(file_name):
_path = list(Path().cwd().glob("out/*.iso"))[0]
path = _path.posix_path()
path = _path.as_posix()
file_name = _path.name
@ -43,7 +43,7 @@ if not (repo_name and api_key and release_name):
gh = Github(api_key)
print(repo_name, api_key)
repo = gh.get_repo(f"parchlinux/parch-iso-cinnamon")
repo = gh.get_repo(f"parchlinux/{repo_name}")
release = repo.get_release(release_name)