-
Notifications
You must be signed in to change notification settings - Fork 18
Add v1-latest as version option #109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
pwright
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion from gemini
| -H "X-GitHub-Api-Version: 2022-11-28" \ | ||
| https://api.github.com/repos/skupperproject/skupper/releases \ | ||
| | jq -r 'map(select( (.prerelease or .draft) | not )) | map(select(.name | startswith ("1."))) | map(select( .name | match("[0-9.]+") ) ) | sort_by (.name|split(".")|map(tonumber))[-1].name' \ | ||
| >| "${release_version_file}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| operator: will crash the installer for non bash users, eg folks on Debian/Ubuntu systems.
| >| "${release_version_file}" | |
| > "${release_version_file}" |
|
|
||
| Versions: | ||
| latest The latest release | ||
| v1-latest The latest release in the 1.x line |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have the impression that if a user wants v1 they will specify a version (and that v1-latest is only useful for dev purposes).
|
I vote for #110 solution. |
This is one of two options for allowing to install the latest v1 CLI via install.sh.
The other one is #110.
On this option, a new 'v1-latest' version option is added.