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

Golang no longer trim the 0 patch version for new releases #1287

Closed
maxbrunet opened this issue Aug 8, 2023 · 1 comment
Closed

Golang no longer trim the 0 patch version for new releases #1287

maxbrunet opened this issue Aug 8, 2023 · 1 comment
Assignees
Labels
priority-2-important User-visible bugs or very important features status:in-progress Someone is working on implementation type:feature Feature (new functionality)

Comments

@maxbrunet
Copy link

For 1.21+, this does not seem to apply anymore:

if [[ "${PATCH}" == "0" ]]; then
GOLANG_FILE_VERSION="${MAJOR}.${MINOR}"
fi

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. Today we are releasing both the Go 1.21 language and its initial implementation, the Go 1.21.0 release. These notes refer to "Go 1.21"; tools like go version will report "go1.21.0" (until you upgrade to Go 1.21.1). See “Go versions” in the "Go Toolchains" documentation for details about the new version numbering.

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

Older versions are unchanged, e.g.: https://dl.google.com/go/go1.20.linux-amd64.tar.gz (see also: https://github.com/golang/dl)

@viceice viceice added type:feature Feature (new functionality) priority-2-important User-visible bugs or very important features status:in-progress Someone is working on implementation labels Aug 9, 2023
@viceice viceice self-assigned this Aug 9, 2023
@viceice
Copy link
Member

viceice commented Aug 9, 2023

will fix it today

@viceice viceice closed this as completed in 803978d Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-2-important User-visible bugs or very important features status:in-progress Someone is working on implementation type:feature Feature (new functionality)
Projects
None yet
Development

No branches or pull requests

2 participants