<#6668 [Bug] support download old version of flyte...
# flyte-github
a
#6668 [Bug] support download old version of flytectl by install.sh Pull request opened by 0yukali0 ## Tracking issue Related to #6657 ## Why are the changes needed? check when the old version of flytectl may not be listed in the response from api.github.com. ## What changes were proposed in this pull request? 1. Check https://api.github.com/repos/${OWNER}/${REPO}/releases/tags/flytectl/${TAG} 2. download if the url is work ## How was this patch tested?
Copy code
bash ./install.sh v0.8.19 # download v0.8.19
./bin/flytectl version
bash ./install.sh # download latest one
./bin/flytectl version
### Labels • fixed This is important to improve the readability of release notes. ### Setup process ### Screenshots [image](https://private-user-images.githubusercontent.com/45888688/499742933-600eefaf-3f2f-491b-a841-ccdcbf8359fd.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjA0NzgzNDAsIm5iZiI6MTc2MDQ3ODA0MCwicGF0aCI6Ii80NTg4ODY4OC80OTk3NDI5MzMtNjAwZWVmYWYtM2YyZi00OTFiLWE4NDEtY2NkY2JmODM1OWZkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTEwMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUxMDE0VDIxNDA0MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdiMTU2YWQ0NWM0NmQwODc1OGIyNjNiNWRhZjg2N2RjZTU0ZWExNjI1YzY2MDY4ZTgwNDFiZWY1NjJlMzA2ZjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.6pBssPl38M8kQAtsUctdYglgwvzqqI_4tJ0SKHrgwLM) ## Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. ## Related PRs ## Docs link https://bito.ai#summarystart| ### Summary by Bito This pull request enhances the installation script for flytectl by adding checks for downloading older versions not listed in the GitHub API response. It introduces a new URL check to ensure specified versions can be retrieved, improving the robustness and user experience of version management. flyteorg/flyte