chore: flathub yaml update script

This commit is contained in:
Kingkor Roy Tirtho 2023-03-17 16:15:35 +06:00
parent 9410701722
commit b6cef34a3b

View File

@ -15,7 +15,7 @@ with open(YAML_FILENAME, mode="r", encoding="utf-8") as input:
# Requires the 2nd VERSION argument to be passed
version = sys.argv[1:][0]
tar_url = f"https://github.com/{REPO}/releases/download/v{version}/Spotube-linux-x86_64.tar.xz"
tar_url = f"https://github.com/{REPO}/releases/download/v{version}/spotube-linux-{version}-x86_64.tar.xz"
tar_sha256 = hashlib.sha256()
print(f"Downloading file {tar_url} to generete sha256 sum")
tar = requests.get(tar_url)