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

Use full patch version for go directives in go.mod #240

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

Conversation

twz123
Copy link
Member

@twz123 twz123 commented Jan 20, 2025

It turns out that since Go 1.21, in which Go started using fully qualified versions and not omitting zeros (i.e. "1.21.0" instead of just "1.21"), just stating the minor version without the patch version is actually considered a development version of Go. Who would have thought? The correct way to use the Go directive is to set it to "go 1.23.0".

It turns out that since Go 1.21, in which Go started using fully
qualified versions and not omitting zeros (i.e. "1.21.0" instead of just
"1.21"), just stating the minor version without the patch version is
actually considered a development version of Go. Who would have thought?
The correct way to use the Go directive is to set it to "go 1.23.0".

Signed-off-by: Tom Wieczorek <twieczorek@mirantis.com>
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