Update rover components failing due to new golang version formatting.
rodmhgl opened this issue · comments
Rod Stewart commented
It looks like something recently changed with the golang version response resulting in a (partial) timestamp being added to the current parsed output. This issue is causing the update components pipeline to fail.
# Current method of parsing
~/projects/rover$ version=$(curl -sSL https://golang.org/VERSION?m=text | cut -c 3-)
~/projects/rover$ echo $version
1.21.0 me 2023-08-04T20:14:06Z
# Unparsed response
~/projects/rover$ curl -sSL https://golang.org/VERSION?m=text
go1.21.0
time 2023-08-04T20:14:06Z
Arnaud Lheureux commented
closing as PR merged, thanks for your contribution @rodmhgl