gocsaf / csaf

Tools to download or provide CSAF (Common Security Advisory Framework) documents.
https://csaf.io
41 stars 24 forks source link

No longer set timestamp of version as part of go version in prepareUbuntuInstanceForITests #431

Closed JanHoefelmeyer closed 1 year ago

JanHoefelmeyer commented 1 year ago

Currently, trying to set up a blank Ubuntu 20.4 Instance via prepare prepareUbuntuInstanceForITests.sh will fail since

curl https://go.dev/VERSION\?m=text currently returns

go1.21.0 time 2023-08-04T20:14:06Z

The timestamp setting the latest_go variable to an unusable state, causing the depending curl instance to throw a syntax error.

This PR will exclude the timestamp and allows fetching the correct go version.