File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ def print_colored(message, color):
2020 print (f"{ color } { message } { Colors .NoColor } " )
2121
2222def get_latest_release ():
23- url = "https://api.github.com/repos/ksctl/cli /releases/latest"
23+ url = "https://api.github.com/repos/ksctl/kli /releases/latest"
2424 with urllib .request .urlopen (url ) as response :
2525 data = response .read ()
2626 release_info = json .loads (data )
@@ -75,9 +75,9 @@ def main():
7575 print_colored (f"Detected OS: { os_name } , Architecture: { arch } " , Colors .Green )
7676
7777 print_colored ("Downloading files..." , Colors .Blue )
78- download_url_base = f"https://github.com/ksctl/cli /releases/download/{ ksctl_version } "
79- tar_file = f"ksctl-cli_ { ksctl_version [1 :]} _{ os_name } _{ arch } .tar.gz"
80- checksum_file = f"ksctl-cli_ { ksctl_version [1 :]} _checksums.txt"
78+ download_url_base = f"https://github.com/ksctl/kli /releases/download/{ ksctl_version } "
79+ tar_file = f"ksctl-kli_ { ksctl_version [1 :]} _{ os_name } _{ arch } .tar.gz"
80+ checksum_file = f"ksctl-kli_ { ksctl_version [1 :]} _checksums.txt"
8181 download_file (f"{ download_url_base } /{ tar_file } " , tar_file )
8282 download_file (f"{ download_url_base } /{ checksum_file } " , checksum_file )
8383
You can’t perform that action at this time.
0 commit comments