-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsing of devel Go version fails #131
Comments
martin-sucha
added a commit
to kiwicom/bingo
that referenced
this issue
Feb 7, 2023
Development versions of Go have an additional token before the version: go version devel go1.21-02d8ebda83 Mon Feb 6 22:13:07 2023 +0000 linux/amd64 Use the regular expression on the whole output of go version instead of just on the third token. Fixes bwplotka#131
Yup, bug to fix, thanks for proposing fix, commented. |
martin-sucha
added a commit
to kiwicom/bingo
that referenced
this issue
Feb 13, 2023
Development versions of Go have an additional token before the version: go version devel go1.21-02d8ebda83 Mon Feb 6 22:13:07 2023 +0000 linux/amd64 Use the regular expression on the whole output of go version instead of just on the third token. Fixes bwplotka#131
bwplotka
pushed a commit
that referenced
this issue
Feb 13, 2023
Development versions of Go have an additional token before the version: go version devel go1.21-02d8ebda83 Mon Feb 6 22:13:07 2023 +0000 linux/amd64 Use the regular expression on the whole output of go version instead of just on the third token. Fixes #131
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.The text was updated successfully, but these errors were encountered: