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

fix(shell): golang-install fails due to invalid version detection #20

Open
1 task done
johankees opened this issue Sep 27, 2023 · 0 comments
Open
1 task done
Labels
bug Something isn't working needs triage Issue needs to be reviewed

Comments

@johankees
Copy link

johankees commented Sep 27, 2023

Commands to Reproduce

execute: install-golang

Expected Results

golang installed successfully.

Actual Results

download-safe: attempting to download: https://golang.org/VERSION?m=text
install-golang: downloading golang vgo1.21.1
time 2023-08-31T22:36:09Z...
download-safe: attempting to download: https://golang.org/dl/go1.21.1
time 2023-08-31T22:36:09Z.linux-amd64.tar.gz
download-safe: failed to download: https://golang.org/dl/go1.21.1
time 2023-08-31T22:36:09Z.linux-amd64.tar.gz after 1 attempts with status code: 000
download-safe: failed to download: https://golang.org/dl/go1.21.1
time 2023-08-31T22:36:09Z.linux-amd64.tar.gz

Any additional logs that will help us?

The version detection fails since the VERSION file content changed and now includes a date time stamp.

curl --location "https://golang.org/VERSION?m=text"
go1.21.1
time 2023-08-31T22:36:09Z

Expected:

curl --location "https://golang.org/VERSION?m=text"
go1.21.1

Operating System(s)

Ubuntu, Windows (WSL)

Operating System (Other)

No response

Architecture

amd64 / x86_64

Shell

bash

Terminal Program(s)

other

Terminal Program(s) (Other)

No response

What is the output from uname -srv on the system(s) where the bug is occurring?

No response

Code of Conduct

  • I agree to follow this project's code of conduct
@johankees johankees added bug Something isn't working needs triage Issue needs to be reviewed labels Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage Issue needs to be reviewed
Projects
None yet
Development

No branches or pull requests

1 participant