Skip to content
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

Auto detect version of go required to build tip #12

Open
maxatome opened this issue Aug 22, 2024 · 0 comments
Open

Auto detect version of go required to build tip #12

maxatome opened this issue Aug 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@maxatome
Copy link
Owner

It would avoid the need of a new install-go release each time tip requires a new go version.

curl https://api.github.com/repos/golang/go/contents/src/cmd/dist | jq -r '.[].download_url' | grep '/notgo.*\.go$'

show the URL to retrieve, then the following line should be searched:

^package building_Go_requires_Go_(.+)_or_later$

$1 is, at the time of writing, 1_22_6.

Insert this auto-detection mechanism here ↓

@maxatome maxatome added the enhancement New feature or request label Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant