automotiveMastermind / numonic

The second generation prompt for macOS, Linux, and WSL
MIT License
9 stars 5 forks source link

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

Open johankees opened 11 months ago

johankees commented 11 months ago

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