-
Notifications
You must be signed in to change notification settings - Fork 18.8k
hack/ci/windows.ps1: fix Go version check (due to trailing .0) #39879
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
Conversation
@StefanScherer @vikramhh ptal |
The proposed change below will convert
Replacing
The following takes care of converting
|
Agreed, the |
Ah, dang, yes |
The Windows Dockerfile downloads the Go binaries, which (unlike the Golang images) do not have a trailing `.0` in their version. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
d90fb92
to
61450a6
Compare
🤦♂ I actually forgot we modified the Dockerfile to remove the trailing |
LGTM |
Windows RS1 failure is unrelated https://ci.docker.com/public/blue/rest/organizations/jenkins/pipelines/moby/branches/PR-39879/runs/2/nodes/50/log/?start=0 tracked through #39857, and currently skipped on Windows on master (#39887)
everything else is green |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
(taken from #39549)
Similar to the fix I did in #39582, but where I made the wrong assumption that the
GO_VERSION
variable on Linux and Windows would be the same. However, the Windows Dockerfile downloads the Go binaries, which (unlike the Golang images) do not have a trailing.0
in their version.