-
Notifications
You must be signed in to change notification settings - Fork 215
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
[Merged by Bors] - Fix go version check script for MacOS. #2098
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
bors try |
tryBuild succeeded: |
I upgraded to go 1.15 and now I'm having the same problem ^_^ I simplified and cleaned this up a bit, @divan could you please check if it still works well for you? If so I think we're ready to merge |
bors try |
tryBuild failed: |
bors try
… |
tryBuild succeeded: |
bors merge |
## Motivation This script offers a fix for #2097. MacOS's `sed` behaves differently from GNU `sed`, so the script fails to parse `go version` output on MacOS. This solution rewrites `go version` parsing part with bash-only features, so sed is not used anymore. Closes #2097 ## Changes Script `./scripts/check-go-version.sh` is modified for not using `sed`. ## Test Plan Tested on Linux and MacOS X by running script manually, and changing minimum minor version value. Co-authored-by: Lane Rettig <lanerettig@gmail.com>
Build failed: |
bors merge |
## Motivation This script offers a fix for #2097. MacOS's `sed` behaves differently from GNU `sed`, so the script fails to parse `go version` output on MacOS. This solution rewrites `go version` parsing part with bash-only features, so sed is not used anymore. Closes #2097 ## Changes Script `./scripts/check-go-version.sh` is modified for not using `sed`. ## Test Plan Tested on Linux and MacOS X by running script manually, and changing minimum minor version value. Co-authored-by: Lane Rettig <lanerettig@gmail.com>
Build failed: |
bors merge |
## Motivation This script offers a fix for #2097. MacOS's `sed` behaves differently from GNU `sed`, so the script fails to parse `go version` output on MacOS. This solution rewrites `go version` parsing part with bash-only features, so sed is not used anymore. Closes #2097 ## Changes Script `./scripts/check-go-version.sh` is modified for not using `sed`. ## Test Plan Tested on Linux and MacOS X by running script manually, and changing minimum minor version value. Co-authored-by: Lane Rettig <lanerettig@gmail.com>
Build failed: |
bors merge |
## Motivation This script offers a fix for #2097. MacOS's `sed` behaves differently from GNU `sed`, so the script fails to parse `go version` output on MacOS. This solution rewrites `go version` parsing part with bash-only features, so sed is not used anymore. Closes #2097 ## Changes Script `./scripts/check-go-version.sh` is modified for not using `sed`. ## Test Plan Tested on Linux and MacOS X by running script manually, and changing minimum minor version value. Co-authored-by: Lane Rettig <lanerettig@gmail.com>
Build failed: |
bors merge
… |
## Motivation This script offers a fix for #2097. MacOS's `sed` behaves differently from GNU `sed`, so the script fails to parse `go version` output on MacOS. This solution rewrites `go version` parsing part with bash-only features, so sed is not used anymore. Closes #2097 ## Changes Script `./scripts/check-go-version.sh` is modified for not using `sed`. ## Test Plan Tested on Linux and MacOS X by running script manually, and changing minimum minor version value. Co-authored-by: Lane Rettig <lanerettig@gmail.com>
Build failed: |
bors merge |
## Motivation This script offers a fix for #2097. MacOS's `sed` behaves differently from GNU `sed`, so the script fails to parse `go version` output on MacOS. This solution rewrites `go version` parsing part with bash-only features, so sed is not used anymore. Closes #2097 ## Changes Script `./scripts/check-go-version.sh` is modified for not using `sed`. ## Test Plan Tested on Linux and MacOS X by running script manually, and changing minimum minor version value. Co-authored-by: Lane Rettig <lanerettig@gmail.com>
Build failed: |
bors merge |
## Motivation This script offers a fix for #2097. MacOS's `sed` behaves differently from GNU `sed`, so the script fails to parse `go version` output on MacOS. This solution rewrites `go version` parsing part with bash-only features, so sed is not used anymore. Closes #2097 ## Changes Script `./scripts/check-go-version.sh` is modified for not using `sed`. ## Test Plan Tested on Linux and MacOS X by running script manually, and changing minimum minor version value. Co-authored-by: Lane Rettig <lanerettig@gmail.com>
Build failed: |
bors merge |
## Motivation This script offers a fix for #2097. MacOS's `sed` behaves differently from GNU `sed`, so the script fails to parse `go version` output on MacOS. This solution rewrites `go version` parsing part with bash-only features, so sed is not used anymore. Closes #2097 ## Changes Script `./scripts/check-go-version.sh` is modified for not using `sed`. ## Test Plan Tested on Linux and MacOS X by running script manually, and changing minimum minor version value. Co-authored-by: Lane Rettig <lanerettig@gmail.com>
Build failed: |
bors merge |
## Motivation This script offers a fix for #2097. MacOS's `sed` behaves differently from GNU `sed`, so the script fails to parse `go version` output on MacOS. This solution rewrites `go version` parsing part with bash-only features, so sed is not used anymore. Closes #2097 ## Changes Script `./scripts/check-go-version.sh` is modified for not using `sed`. ## Test Plan Tested on Linux and MacOS X by running script manually, and changing minimum minor version value. Co-authored-by: Lane Rettig <lanerettig@gmail.com>
Pull request successfully merged into develop. Build succeeded: |
Motivation
This script offers a fix for #2097.
MacOS's
sed
behaves differently from GNUsed
, so the script fails to parsego version
output on MacOS. This solution rewritesgo version
parsing part with bash-only features, so sed is not used anymore.Closes #2097
Changes
Script
./scripts/check-go-version.sh
is modified for not usingsed
.Test Plan
Tested on Linux and MacOS X by running script manually, and changing minimum minor version value.