aztfmod / rover

The rover is a docker container in charge of the deployment of the Terraform platform engineering for Azure

Home Page:https://aka.ms/caf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update rover components failing due to new golang version formatting.

rodmhgl opened this issue · comments

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

closing as PR merged, thanks for your contribution @rodmhgl