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

proposal: affected/package: Cut a latest 1.## release with every new minor release #62136

Closed
ctm8788 opened this issue Aug 18, 2023 · 4 comments

Comments

@ctm8788
Copy link

ctm8788 commented Aug 18, 2023

Currently 1.21 was just released as 1.21.0 .

I'm unable to download the 1.21 release via jenkins unless I specify 1.21.0

Once we move to a new minor release, we should be able to specify that and not have to wait until a patch version (1.21.1) to be able to specify 1.21
Works:
curl https://dl.google.com/go/go1.21.0.linux-amd64.tar.gz --output go1.21.0.linux-amd64.tar.gz
Doesn't Work:
curl https://dl.google.com/go/go1.21.linux-amd64.tar.gz --output go1.21.linux-amd64.tar.gz

@gopherbot gopherbot added this to the Proposal milestone Aug 18, 2023
@ctm8788 ctm8788 changed the title proposal: affected/package: Cut a 1.## release with every new minor release proposal: affected/package: Cut a latest 1.## release with every new minor release Aug 18, 2023
@seankhliao
Copy link
Member

This goes against our policy of providing stable / explicit versioning, both for the go distribution and dependencies in general.
You can parse the latest version out of the API endpoint https://go.dev/dl/?mode=json

@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Aug 18, 2023
@ctm8788
Copy link
Author

ctm8788 commented Aug 18, 2023

Why can I download 1.20 without issue then?
curl https://dl.google.com/go/go1.20.linux-amd64.tar.gz --output go1.20.linux-amd64.tar.gz

@seankhliao
Copy link
Member

https://go.dev/doc/go1.21#introduction

Go 1.21 introduces a small change to the numbering of releases. In the past, we used Go 1.N to refer to both the overall Go language version and release family as well as the first release in that family. Starting in Go 1.21, the first release is now Go 1.N.0.

@ctm8788
Copy link
Author

ctm8788 commented Aug 18, 2023

I see, I feel like this could possibly break teams build processes and cause more overhead.

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

No branches or pull requests

3 participants