Closed martin-sucha closed 1 year ago
bingo version output:
bingo version
v0.7
go version output:
go version
go version devel go1.21-02d8ebda83 Mon Feb 6 22:13:07 2023 +0000 linux/amd64
What happened:
When running a bingo command with a development version of Go, Bingo commands fail. Even simple bingo version prints the following error:
Error: version command failed: parse go version: unexpected go version format
What you expected to happen:
Bingo parses the version.
How to reproduce it (as minimally and precisely as possible):
cd src
./make.bash
Anything else we need to know:
There is an additional devel token in the go version output, so parseGoVersion needs to be adjusted.
devel
Yup, bug to fix, thanks for proposing fix, commented.
bingo version
output:go version
output:What happened:
When running a bingo command with a development version of Go, Bingo commands fail. Even simple
bingo version
prints the following error:What you expected to happen:
Bingo parses the version.
How to reproduce it (as minimally and precisely as possible):
cd src
,./make.bash
bingo version
Anything else we need to know:
There is an additional
devel
token in thego version
output, so parseGoVersion needs to be adjusted.