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
Incorrect version check in run_latest_build.sh #912
Comments
|
@beekhof thanks we'll look at this one soon. For now, you could update the version check to be 3723 to let you run with the 3.7.23 until we have a patch for this script. |
|
Here is how Spacewalk project did version comparisons using the librpm algorithm: |
|
The current rpmvercmp.c file |
|
I think in order to make this fool proof we're going to have to parse the string field by field. Otherwise, we're always going to run into a problem. |
|
I believe the best resolution to this is for us to simply remove the |
Bug:
What happened:
./run_latest_build.sh
++ oc version
++ head -1
++ echo oc v3.7.23
++ egrep -o 'v[0-9]+(.[0-9]+)+'
++ tr -d v.
Error: unknown flag: --tag
[...]
Error starting cluster
What you expected to happen:
Script uses the correct flags
How to reproduce it:
Run ./run_latest_build.sh with oc v3.7.23
The text was updated successfully, but these errors were encountered: