Skip to content

fix go version in go.mod for toolchain downloads #1242

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

kanya-omarovich
Copy link

as go downloads from https://go.dev/dl/go{version.in.godotmod}.{platform}-{arch}.tar.gz if the system toolchain is too old, the line go 1.22 should be go 1.22.0 in go.mod in order for it to not fail for <1.22, even though go 1.22 is legal and toolchains with a version number >= it will recognize it fine and will build normally.

this does not break existing builds.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant